Need help exporting block inputs to a list

I am trying to export the full list of a Simulink block's inputs and outputs ideally to an Excel sheet, but first to the workspace. It is the "FMU" block, with a large number of inputs and outputs. Any help is appreciated.

2 件のコメント

Les Beckham
Les Beckham 2022 年 12 月 30 日
Do you want to log the signals themselves from a simulation run, or get the names of the block inputs and outputs.?
Santhosh
Santhosh 2022 年 12 月 31 日
Just get the names

サインインしてコメントする。

回答 (1 件)

VBBV
VBBV 2022 年 12 月 30 日

0 投票

Read this section for exporting data from simulink block to workspace.
After exporting data to workspace, you can write desired variables to Excel file using writematrix function

1 件のコメント

Santhosh
Santhosh 2022 年 12 月 31 日
Thanks, I will try that!!

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangePrepare Model Inputs and Outputs についてさらに検索

製品

リリース

R2021b

質問済み:

2022 年 12 月 30 日

コメント済み:

2022 年 12 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by