Filter löschen
Filter löschen

Extract data from simulink to excel

5 Ansichten (letzte 30 Tage)
Samah EL QASSAH
Samah EL QASSAH am 30 Mär. 2022
Beantwortet: Fangjun Jiang am 30 Mär. 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 Kommentare
Fangjun Jiang
Fangjun Jiang am 30 Mär. 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 am 30 Mär. 2022
Yes! the name of the inport/outport blocks

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 30 Mär. 2022
blocks=find_system('Model/System','FindAll','On','SearchDepth','0', 'BlockType','Inport');
get(blocks,'Name')

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by