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?

 Réponse acceptée

Florian Bidaud
Florian Bidaud le 25 Nov 2022

0 votes

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 commentaire

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?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

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

Produits

Version

R2016a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by