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 commentaire

Sachin
Sachin le 21 Mar 2023
Modifié(e) : Sachin le 21 Mar 2023
Hi
Try this
toWksData = get(out,"simout");

Connectez-vous pour commenter.

Réponses (1)

Bora Eryilmaz
Bora Eryilmaz le 21 Mar 2023
Modifié(e) : Bora Eryilmaz le 21 Mar 2023

0 votes

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

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Question posée :

le 21 Mar 2023

Modifié(e) :

le 21 Mar 2023

Community Treasure Hunt

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

Start Hunting!

Translated by