Value of data out of range after conversion into older version

4 views (last 30 days)
After converting a model with a large number of MATLAB Funcion block into an older version, an error appeared.
"The data Upr was assigned a value (250) outside of its range [0, 100] in MATLAB Function Single switching"
Why is this happening?
  3 Comments
Jan
Jan on 24 Jul 2019
Edited: Jan on 24 Jul 2019
[MOVED from section for answers - please post comments as comments] Andrew Sol wrote:
I have a simulink model with a couple of MATLAB Function blocks. After conversation from 2017a to 2015a i see this message (error). And this error vector to one of the MATLAB function blocks. After that, i delete function block and create block-structure equation - my model start works at 2015a version. But i want to know - why this error exist?
Sorry for my nonideal language.
Andrew Sol
Andrew Sol on 24 Jul 2019
I have a simulink model with a couple of MATLAB Function blocks. After conversation from 2017a to 2015a i see this message (error). And this error vector to one of the MATLAB function blocks. After that, i delete function block and create block-structure equation - my model start works at 2015a version. But i want to know - why this error exist?
Sorry for my nonideal language.

Sign in to comment.

Answers (0)

Categories

Find more on Interactive Model Editing in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!