
Simulink Testのテストマネージャーのシミュレーション結果をmatファイルにエクスポートする方法はありますか?
8 views (last 30 days)
Show older comments
MathWorks Support Team
on 11 May 2025
Answered: MathWorks Support Team
on 11 May 2025
Simulink Testのテストマネージャーのシミュレーション結果をコマンドを使って、matファイルにエクスポートする方法を教えてください。
Accepted Answer
MathWorks Support Team
on 11 May 2025
テストマネージャー上のシミュレーション結果は、sltest_simoutに保存されます。
assigninコマンドを使って、sltest_simoutをベースワークスペースに保存することで、操作頂けます。
例:テストケースのコールバックのクリーンアップに下記コマンドを設定。
assignin('base','DATA',sltest_simout);
save DATA
上記ですが、
%assignin('base','DATA',sltest_simout);
テストマネージャーを実行すると、sltest_simoutがDATAとしてワークスペースに保存されます。
%save DATA
saveコマンドで、ワークスペースのDATAがDATA.matとして保存されます。

0 Comments
More Answers (0)
See Also
Categories
Find more on Outputs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!