simulink workspace transfert function
显示 更早的评论
Hello everyone;
I need some help ,I saw this video (https://www.mathworks.com/videos/transfer-functions-in-simulink-part-2-extracting-transfer-functions-106147.html) and it was very helpful but my question is as follow: Are there any matlab commande to extract the transfert function(from linear analysis tool app) automatically to the workspace?
or :Are there any matlab commande to extract the transfert function(from simout simulink bloc) automatically to the workspace
I thank you in advance for your collaboration.
1 个评论
madhan ravi
2019-5-11
Sulaymon Eshkabilov answer moved here since it’s not an answer but rather a comment instead:
Could you please clarify your question: what you are trying to get the simulation values (signal values) from the TF block or coeff.s of the transfer function block or something else?
回答(2 个)
Sulaymon Eshkabilov
2019-5-12
0 个投票
Hi,
If you are using linearization as demonstrated in the video and wish to see/save a State-Space respresentation of the transfer function of your designed system, then you should save the linear analysis under [LINEAR ANALYSIS] tab of the [Linear Analysis Tool] that will save the whole analysis in *.mat file. You can see the State-Space representation of your transfer function (under the variable name: LinearAnalysisToolProjects(1).Data.Value ... something like this) when you load your saved *.mat file into MATLAB workspace. It may differ if you have later versions of MATLAB. Mine is 2013b.
Good luck.
类别
在 帮助中心 和 File Exchange 中查找有关 Gain Scheduling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!