If I load a model in which I never did a multi-start optimization, the ar.ps struct does not exist (same for ar.chi2s).
Then if I call arMergeFits it checks for existence of ar.ps in the "empty" model, which does not exist. And I am not able to load the results from already existing multi-starts.
This is an example of my code:
clear all
close all
clc
load('model_name.mat','ar'); % this is the "empty" model
arMergeFits;
% some plotting
If I load a model in which I never did a multi-start optimization, the ar.ps struct does not exist (same for ar.chi2s). Then if I call
arMergeFits
it checks for existence ofar.ps
in the "empty" model, which does not exist. And I am not able to load the results from already existing multi-starts.Is there a way I can circumvent this problem?