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

3 次查看(过去 30 天)
SN=95

回答(1 个)

Jon
Jon 2023-5-17
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 个评论
Jon
Jon 2023-5-18
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 2023-5-18
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by