The following error is returned in the MATLAB command window when I try to create a System Snapshot by going to 'File > Reports > System Design Description' for my model containing Simscape components (the error in the 'Message List' dialog box of the Report Generator is slightly different):
Attempted to access portList.Outport(NaN); index must be a positive integer or logical.
Error while evaluating TimerFcn for timer 'timer-1'
Attempted to access portList.Outport(NaN); index must be a positive integer or logical.
I get this error in R2013b and R2014a but not in R2014b and R2015a.
Best Answer