How to convert the simulink model to s-function

I try to convert the established simulink model into an s function in matlab 2016a. Right click to select the model conversion, as shown in Figure 1. Finally, the system reports an error, as shown in Figure 2. What should I do?

 Akzeptierte Antwort

Florian Bidaud
Florian Bidaud am 25 Nov. 2022

0 Stimmen

As said on the error, you must install the compilers on the given link. Then you will be able to generate your S function.

1 Kommentar

Thank you very much, then when I convert the model, I will prompt that there is an algebraic ring in the model. I need to use the "ashow" command to view it. Where can I use this command?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Block and Blockset Authoring finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2016a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by