Extract data from simulink to excel
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/946569/image.png)
2 commentaires
Fangjun Jiang
le 30 Mar 2022
Do you want the names of the Inport/Outport blocks, or the data values of those blocks for a simulation?
Réponses (1)
Fangjun Jiang
le 30 Mar 2022
blocks=find_system('Model/System','FindAll','On','SearchDepth','0', 'BlockType','Inport');
get(blocks,'Name')
0 commentaires
Voir également
Catégories
En savoir plus sur MATLAB Functions in Microsoft Excel dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!