How do I create an S function from an .mdl Simulink model?

How do I create an S function from an .mdl Simulink model? I would like to create an S function to protect my “knowhow” in my .mdl files. I’m using complex standalone .mdl models with gui mask and many subsystems without any m code form matlab. Is it possible to create such a S function that the final user can use only the gui mask and the Run button without the possibility to see how the model is built?

Réponses (1)

Andreas Goser
Andreas Goser le 5 Avr 2013
Modifié(e) : Andreas Goser le 5 Avr 2013

0 votes

You need to have the product Simulink Coder. Do you have it? Documentation:

2 commentaires

How do I check if I have the Simulink Coder? Is this a standard tool or an add-on which needs to be purchased separately? I’m using 2010a Student (for my PhD), therefore my installation has probably some limitations. Due to my Student license, I also don't have access to the link you provided.
The Simulink Coder is not available for the Student Version. In general, you find the products install by typing "ver" in the command window.
I am a bit sceptic if the need for protecticting intellectual property matches with the spirit of the student version (used for course work). But I am sure your university has the Simulink Coder. Contact the MathWorks (or in your cases the reseller's) account manager. They will help.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Centre d'aide et File Exchange

Produits

Question posée :

le 5 Avr 2013

Community Treasure Hunt

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

Start Hunting!

Translated by