Simulink/Simscape Model Interogation

1 view (last 30 days)
Brett Snodgrass
Brett Snodgrass on 10 Jan 2020
Answered: Yifeng Tang on 31 Aug 2022
In the Simscape window, I'd like to allow user to set/modify time in a single cell in the range 0<t<end, and have immediate feedback of various model results within the window, all without rerunniung the model. Any input on how to do that?

Answers (1)

Yifeng Tang
Yifeng Tang on 31 Aug 2022
Hi Brett,
I think we have discussed this during a meeting. Just put some notes here so more people may benefit from your question.
I think a relatively easy way to do this is to build simple MATLAB App where you can run the model once and save the results to simlog. The app can then query and interpolate into the simlog data based on time input and display the results in the App.


Find more on Simscape Fluids 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!

Translated by