I am trying to wrap a parfor loop around a simbiology simulation and am getting odd results that I don't get when I use a regular for loop.
For example, the following line:
gives me this error:
Error using simulateModel>(parfor body) (line 51)
Attempt to reference field of non-structure array.
Another example is this line:
which gives me this error:
Error using simulateModel>(parfor body) (line 54)
Cannot find an exact (case-sensitive) match for 'getconfigset'
The closest match is: getConfigSet in
Both of these work in a regular for loop. I'm particularly perplexed about the getconfigset. It is almost as if MATLAB forgets about the SimBiology toolbox altogether when running the parallel toolbox and doesn't recognize SimBio functions or objects.
Any suggestions would be much appreciated.