Saving mat file with many signals from Simulink
Show older comments
I have a Simulink model that calculates many time series (position, velocity, power, etc) in different blocks. I would like to create a single mat file containing all of these signals, either from within Simulink or from the Matlab script that I will be using to execute the simulation with the sim commmand. What is the best way to do this?
Accepted Answer
More Answers (1)
sagar zankar
on 27 Mar 2018
1 vote
Connect all the signals to a MUX and connect the MUX to ToFile Block, you will get all the signals in a single mat file!
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!