Change a parameter during the simulation Simulink

I need to change a parameter such as the value of a step during the simulation, graphing it I hope to observe the change of those two values, Someone has an idea of how to do that from workspace

Answers (1)

In cases like this where you have to give a customized input, I prefer to go to excel to create that input as a time series. In simple cases you can create the input in MATLAB directly but in a bit complex cases, excel is more user friendly. Then just import that excel data into your workspace. You can use that data in your simulation model by using "inport" or "from workspace" blocks.

This question is closed.

Products

Release

R2017b

Asked:

on 12 Apr 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!