Global Variable in a Matlab function called by a Matlab System block. Simulink

3 ビュー (過去 30 日間)
Grace Wagstaffe
Grace Wagstaffe 2020 年 2 月 6 日
I have a couple of different Matlab System blocks that call the same function. The fucntion itself uses global parameters.
When stepping through the Simulink it appears as if these parameters are not updating the global definintion.
How do I define these?
I can run the code in Matlab the global definitions update as expected.

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by