Problems to export Scope Data variable to MATLAB workspace via timer function
2 ビュー (過去 30 日間)
古いコメントを表示
I am using a timer function to update variables created by a Simulink simulation in my workspace .
However when called upon by the timer function, the Scope Data is not getting exported into the MATLAB workspace. When I run the Simulink-Simulation using the run-button, however, it works. Did anyone have a similar problem and found a solution?
0 件のコメント
回答 (1 件)
Chaitanya Mallela
2020 年 12 月 24 日
編集済み: Chaitanya Mallela
2020 年 12 月 24 日
To export the calculated variables into the workspace, consider returning the output from sim function to load into the MATLAB workspace and return this output from the timer functions.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!