フィルターのクリア

Export data via data inspector

8 ビュー (過去 30 日間)
beni hadi
beni hadi 2021 年 8 月 21 日
回答済み: Rohit Pappu 2023 年 4 月 23 日
Hello,
I want to export the logged data for 5910 runs to a file through Simulink's data inspector.
i wrote below command:
runIDs = Simulink.sdi.getAllRunIDs;
runIDs: 5910x1 int32
then,
Simulink.sdi.exportRun( runIDs, 'file' , 'myfile.mat' );
but, error message is : runID, to be a scalar.
how can export all runs to a file.mat?
Any help would be appreciated. Thanks in advance.

回答 (1 件)

Rohit Pappu
Rohit Pappu 2023 年 4 月 23 日
Hi Beni,
As of R2023a,
Simulink.sdi.exportRun accepts vector of runID as input argument.
Please refer to this documentation link

カテゴリ

Help Center および File ExchangeAnalyze Simulation Results についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by