Extract data from simulink to excel
8 views (last 30 days)
Show older comments
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 Comments
Fangjun Jiang
on 30 Mar 2022
Do you want the names of the Inport/Outport blocks, or the data values of those blocks for a simulation?
Answers (1)
Fangjun Jiang
on 30 Mar 2022
blocks=find_system('Model/System','FindAll','On','SearchDepth','0', 'BlockType','Inport');
get(blocks,'Name')
0 Comments
See Also
Categories
Find more on MATLAB Functions in Microsoft Excel 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!