How to export from Matlab workspace to Simulink the transfer function

26 views (last 30 days)
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
thiago rech on 14 Mar 2020
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.

Haritha
Haritha on 13 Oct 2018
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.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!