How to create a persistent variable in the matlab function block inside simulink?

조회 수: 12 (최근 30일)
What is a best way to create a persistent variable in the matlab function block inside simulink? So that the values inside that variable can be changed insude the matlab function block at a simulation time step, and the new value is available at the next simulation step when the function is run again.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 4월 28일

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by