Value of data out of range after conversion into older version

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

The question contains too few information. What exactly is "a model" and what is "large number of MATLAB function block"? An older version of Matlab or of the model?
Please post the availble details.
[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.
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

Products

Release

R2017a

Asked:

on 24 Jul 2019

Commented:

on 24 Jul 2019

Community Treasure Hunt

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

Start Hunting!