フィルターのクリア

Extract data from simulink to excel

5 ビュー (過去 30 日間)
Samah EL QASSAH
Samah EL QASSAH 2022 年 3 月 30 日
回答済み: Fangjun Jiang 2022 年 3 月 30 日
Hi!
how to extract the list of inputs and outputs from simulink and list them on an excel. Should I imperatively put for each input/output a toworkspace block?,
  2 件のコメント
Fangjun Jiang
Fangjun Jiang 2022 年 3 月 30 日
Do you want the names of the Inport/Outport blocks, or the data values of those blocks for a simulation?
Samah EL QASSAH
Samah EL QASSAH 2022 年 3 月 30 日
Yes! the name of the inport/outport blocks

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

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2022 年 3 月 30 日
blocks=find_system('Model/System','FindAll','On','SearchDepth','0', 'BlockType','Inport');
get(blocks,'Name')

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by