Unrecognized functions or variables error in a Simulink model that is run from inside a function

I have a Simulink model that will only be run from inside a MATLAB function, using the sim instruction. In this instruction I specify the source workspace as 'current', i.e. the function itself.
Because of this, when not running the model, Unrecognized functions or variables errors are all over it, as the workspace variables do not exist until the model runs.
How do I turn off those errors?
Thank you.
LT.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2018b

태그

질문:

2019년 9월 21일

댓글:

2019년 9월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by