Determining the response of the system to time-varying input in Simulink MATLAB
3 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
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
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
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 Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!