Protect a Simulink model but keep the possibility to modify it

1 vue (au cours des 30 derniers jours)
Mathieu Gauquelin
Mathieu Gauquelin le 27 Août 2021
Commenté : Mathieu Gauquelin le 30 Août 2021
Hello,
I am new on Simulink and want to protect a model in order to add a password for Read/Write action. In this way, I can send to my client the model but without the password it won't be able to modify it.
The way to protect a model like this include a kind of compilation which permits only the read action. Maybe I am wrong?
Thank you in advance if you can advice me.
Best regards.

Réponse acceptée

Jonas
Jonas le 27 Août 2021
  8 commentaires
Mathieu Gauquelin
Mathieu Gauquelin le 27 Août 2021
Ok you save my day. The load function of matlab doesn't need the coder.extrinsic function so the load function is compatible for the model protection (whereas all function needed coder.extrinsic are not, such as xlsread or readtable). Thank you very much.
Mathieu Gauquelin
Mathieu Gauquelin le 30 Août 2021
The load function, even if doesn't requrie the coder.extrinsic code line, is not supported also ... I tried with readtable but same thing. Do you know what matlab function can be used to read a table/csv/mat file and is compatible with the simulink coder ? Best regards.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by