Need help exporting block inputs to a list

I am trying to export the full list of a Simulink block's inputs and outputs ideally to an Excel sheet, but first to the workspace. It is the "FMU" block, with a large number of inputs and outputs. Any help is appreciated.

2 comentarios

Les Beckham
Les Beckham el 30 de Dic. de 2022
Do you want to log the signals themselves from a simulation run, or get the names of the block inputs and outputs.?
Santhosh
Santhosh el 31 de Dic. de 2022
Just get the names

Iniciar sesión para comentar.

Respuestas (1)

VBBV
VBBV el 30 de Dic. de 2022

0 votos

Read this section for exporting data from simulink block to workspace.
After exporting data to workspace, you can write desired variables to Excel file using writematrix function

Categorías

Productos

Versión

R2021b

Preguntada:

el 30 de Dic. de 2022

Comentada:

el 31 de Dic. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by