Determining the response of the system to time-varying input in Simulink MATLAB

2 Ansichten (letzte 30 Tage)
SN=95

Antworten (1)

Jon
Jon am 17 Mai 2023
There are a number of ways you could apply this input signal. One simple way is to use the from workspace block, then use a script or command line to assign the values for your input in the workspace before running the simulation.
  3 Kommentare
Jon
Jon am 18 Mai 2023
Here is a screenshot, I have also attached two files: 1) An example Simulink model, and 2) a script,you should run, before you run the model to assign the from workspace variable values.
Jon
Jon am 18 Mai 2023
Note, in my example model I just used a first order transfer function. You would of course use the transfer function you were actually interested in.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by