Need help exporting block inputs to a list

2 views (last 30 days)
Santhosh
Santhosh on 30 Dec 2022
Commented: Santhosh on 31 Dec 2022
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 Comments
Les Beckham
Les Beckham on 30 Dec 2022
Do you want to log the signals themselves from a simulation run, or get the names of the block inputs and outputs.?

Sign in to comment.

Answers (1)

VBBV
VBBV on 30 Dec 2022
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

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!