How to convert the simulink model to s-function

28 views (last 30 days)
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?

Accepted Answer

Florian Bidaud
Florian Bidaud on 25 Nov 2022
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 Comment
阜林 刘
阜林 刘 on 26 Nov 2022
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?

Sign in to comment.

More Answers (0)

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Tags

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!