I've used fitnlm() in a loop to create a cell array of nonlinear models. and saved said cell array like this:
for i=1:N
modelfun = @(b,x)model_func_3(b,x,n);
inital_b = rand((n+1)*(n+2)/2,2)
model_array{i} = fitnlm(center_ptsSet(:),center_ptsRef(:),modelfun,inital_b);
end;
save('some_path.mat',model_array);
where model_func_3 is just a simple function and center_ptsSet,center_ptsRef are MX1 data sets now when I want to load said cell array by dragging into MATLAB or by using load() its stuck on 'busy'
does anyone know why? or what I did wrong?