How to stream data from .m file to Simulink block

With this .m file you can 'update' the constant block declared in Simulink .mdl file
ダウンロード: 379
更新 2017/9/12

ライセンスの表示

I was trying to use "From Workspace" block but, it gathers the value only once at the beginning of the simulation. I cannot just run a m-code script, save data and then transfer it to Simulink becouse both together need to work with real time vision system. How can I solve that problem? https://www.mathworks.com/matlabcentral/profile/authors/3874897-michal
With this .m file you can 'update' the constant block declared in Simulink .mdl file

引用

Larasmoyo Nugroho (2024). How to stream data from .m file to Simulink block (https://www.mathworks.com/matlabcentral/fileexchange/64394-how-to-stream-data-from-m-file-to-simulink-block), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2011a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0