Why do I get an 'index must be a positive integer or logical' error when I try to generate a System Snapshot from the standard System Design Description Report in Simulink Report Generator R2013b and R2014a?

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 15 Apr 2015
This is a bug in R2013b and R2014a. There is a patch for it that can be found at the following location:
https://www.mathworks.com/support/bugreports/1230112

More Answers (0)

Categories

Find more on Trimming and Linearization in Help Center and File Exchange

Products


Release

R2014a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!