Does Simulink Real-Time support MATLAB-S Functions?

The Help Documentation seems to say Simulink Real-Time support C-S Functions. So does Simulink Real-Time support MATLAB-S Functions?

Réponses (2)

Walter Roberson
Walter Roberson le 10 Déc 2017

1 vote

Yes. See for example https://www.mathworks.com/help/xpc/driver/s-function-guidelines.html that talks specifically about writing drivers for Simulink Real-Time using S functions. (Note: the S functions cannot be written in MATLAB.)

2 commentaires

link no longer points to the intended page
You are right, Paul.
Hmmm... related:
But it does look as if the direct documentation on this topic might have been removed, with it perhaps being assumed that anything like this would be done in Speedgoat.

Connectez-vous pour commenter.

Pablo Romero
Pablo Romero le 26 Avr 2024

0 votes

If you'd like to know more about how to integrate and deploy S-Functions to a Simulink Real-Time target, or in general, any external C/C++ code, please check out the following documentation page.

Community Treasure Hunt

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

Start Hunting!