Matlab get transfer function from Simulink
显示 更早的评论

Is it possible to use Matlab to retrieve the data from Simulink from this block diagram and plot the transfer function?
1 个评论
Hi
Try this
toWksData = get(out,"simout");
回答(1 个)
Bora Eryilmaz
2023-3-21
编辑:Bora Eryilmaz
2023-3-21
0 个投票
Yes. It is called linearization. If you have access to the Control System Toolbox and/or Simulink Control Design, you can use linearization to extract a transfer function between two operating points. Take a look at:
- Lineariza Plant
- linearize command
Your question is a bit ambiguous, since you need an input and an output to construct and plot a transfer function. Just reading "out.in" will not be sufficient to plot a transfer function.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!