Extract data from simulink to excel
15 ビュー (過去 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
2022 年 3 月 30 日
Do you want the names of the Inport/Outport blocks, or the data values of those blocks for a simulation?
回答 (1 件)
Fangjun Jiang
2022 年 3 月 30 日
blocks=find_system('Model/System','FindAll','On','SearchDepth','0', 'BlockType','Inport');
get(blocks,'Name')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!