Data2Dynamics/d2d

Problem when executing arMergeFits in an "empty" model

elbaraim opened this issue · 1 comments

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

Is there a way I can circumvent this problem?

Hi Elba,

sorry for the late respose… This should be fixed with the commit 222ce99.

Best
Adrian