I recently updated Matlab from R2018b to R2019b (I believe it's the recent version) in the MacOS (Mojave, Version 10.14.6) and ran very simple code, which ran perfectly in the R2018b, in the Dynasim. I got the following error:
's=10; r=27; b=2.666';
data=dsSimulate(eqns,'tspan',[0 100],'ic',[1 2 .5]);
Error:File: dsSimulate.m Line: 820 Column: 64
Identifier 'sim_id' is not a function or a shared variable. To share 'sim_id' with nested function, initialize it in the current scope. For more
information, see Sharing Variables Between Parent and Nested Functions.
Has anyone seen such an errors?