How to export from Matlab workspace to Simulink the transfer function
Show older comments
Hi all,
I have several transfer functions in the Matlab workspace, how can I automatically export them to an existing Simulink block of transfer function?
Now I do it by copying and pasting the numerator and denominator as vectors of coefficients in Simulink.
Thank you
Answers (2)
thiago rech
on 14 Mar 2020
1 vote
I think he was looking for something like this:
There is a way to export transfer-functions and to simulate their behavior in Simulink, by using LTI Models.
Happy to Help,
Thiago.
1 Comment
Muhammad Omar Ahmad
on 28 Nov 2022
Thanks Exactly what i was looking for
Haritha
on 13 Oct 2018
0 votes
Hi,
Open model explorer in Matlab Simulink. Create a preload function for the saved variables in workspace then run the Simulink file. Now Automatically Simulink will run.
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!