How to export from Matlab workspace to Simulink the transfer function

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)

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.
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

Products

Release

R2018b

Asked:

on 12 Oct 2018

Community Treasure Hunt

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

Start Hunting!