Azzera filtri
Azzera filtri

Extract data from simulink to excel

5 visualizzazioni (ultimi 30 giorni)
Samah EL QASSAH
Samah EL QASSAH il 30 Mar 2022
Risposto: Fangjun Jiang il 30 Mar 2022
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 Commenti
Fangjun Jiang
Fangjun Jiang il 30 Mar 2022
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 il 30 Mar 2022
Yes! the name of the inport/outport blocks

Accedi per commentare.

Risposte (1)

Fangjun Jiang
Fangjun Jiang il 30 Mar 2022
blocks=find_system('Model/System','FindAll','On','SearchDepth','0', 'BlockType','Inport');
get(blocks,'Name')

Categorie

Scopri di più su Data Import from MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by