Exporting model from workspace to Simulink

1 view (last 30 days)
Shafaq Gul
Shafaq Gul on 26 Feb 2020
Commented: Shafaq Gul on 9 Mar 2020
I have identified a model in command window. Now am having it in my workspace as sys variable and want to use it in Simulink. Is there any direct way to export it to Simulink and make connections.

Answers (1)

Priyanshu Mishra
Priyanshu Mishra on 5 Mar 2020
Hi Shafaq,
You can directly import variable from workspace using block from workspace. For more information on this you may refer to this link.
  1 Comment
Shafaq Gul
Shafaq Gul on 9 Mar 2020
Dear Priyanshu,
I guess from workspace deals with variables that have output only. Is it possible to move a model like transfer function (allowing to have input and then give output accordingly) to Simulink.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by