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

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개)

카테고리

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

제품

릴리스

R2019b

질문:

2020년 2월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by