matlab - Simulink: how to store a local variable in level 2 S-function? -


i'm starting msfuntmpl_basic.m , modifying output audio audio device.

where can store device (dsp.audiorecorder)?

the solution seems use 'persistent' attribute variable in function.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -