필터 지우기
필터 지우기

Extract data from simulink to excel

조회 수: 5 (최근 30일)
Samah EL QASSAH
Samah EL QASSAH 2022년 3월 30일
답변: Fangjun Jiang 2022년 3월 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
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?
Samah EL QASSAH
Samah EL QASSAH 2022년 3월 30일
Yes! the name of the inport/outport blocks

댓글을 달려면 로그인하십시오.

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2022년 3월 30일
blocks=find_system('Model/System','FindAll','On','SearchDepth','0', 'BlockType','Inport');
get(blocks,'Name')

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by