How to import variable into a MATLAB function in Simulink without explicitly defining them?
1 回表示 (過去 30 日間)
古いコメントを表示
I have variable predefined in workspace and my custom MATLAB block needs to
access them. I guess I could pass the variable explicitly, but that is just so ugly.
Any idea how to do this?
0 件のコメント
採用された回答
Azzi Abdelmalek
2013 年 12 月 28 日
Use data store memory block http://www.mathworks.com/help/simulink/ug/using-global-data-with-the-matlab-function-block.html#bsdud7d-1
0 件のコメント
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!