Effacer les filtres
Effacer les filtres

Protecting a Simulink block

5 vues (au cours des 30 derniers jours)
Marianne
Marianne le 8 Oct 2014
Réponse apportée : Sherman le 10 Déc 2014
Hello everybody,
I have to deliver a simulink model but I don't want that people can see what there is inside the blocs. I see this message Protecting a Simulink block with a password but with regard to the propositions :
  1. I don't know how to contrôl user access
  2. I don't know what the S-function is
  3. I try to creat a protected model as described in this page : Protected Models for Model Reference but when I right click on my bloc I don't have the option create protected model. I use R2013a, is it available in this Matlab version ?
Thank you for your answer

Réponses (2)

Ganesh Gaonkar
Ganesh Gaonkar le 28 Oct 2014
Hi Marianne,
Yes. 'Protecting models for model reference' is available in MATLAB R2013a. Hence you should be able to do it.However this technique works mainly for model reference blocks . If you try it on a direct block or just a subsystem, you will not get this option. Refer to the demo example 'sldemo_mdlref_bus' as mentioned in the above documentation link that you mentioned. Also, you would need Simulink Coder installed. To generate the read-only view of protected models, you must have Simulink Report Generator.So check if these products are already installed and your MATLAB license includes these products already.

Sherman
Sherman le 10 Déc 2014
Also, password protection was added in R2013b so this feature won't be available in 13a.

Catégories

En savoir plus sur Event Functions dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by