Effacer les filtres
Effacer les filtres

Is it possible to restrict the access to a custom function to do not allow other user to apply modification?

4 vues (au cours des 30 derniers jours)
I have written a calculation sofware that I need to share with other users, but I don't want other people to be able to modify the script without a permission, because this package of fuctions will be an official tool inside the office, with new release when required.
Wich is the smarter way to do this without loosing the possibility to access the functions in case of further improvements and updates?

Réponse acceptée

Abderrahim. B
Abderrahim. B le 25 Août 2022
Maybe you convert it to a protected code using pcode. See how in the link below:
Hope this helps
  2 commentaires
Walter Roberson
Walter Roberson le 25 Août 2022
Note that pcode should not be considred robust against determined attackers. It is known that some people have ways of reversing pcode generated before R2022a (which revised pcode security.)
Giovanni P
Giovanni P le 25 Août 2022
I'll try and then I'll let you know, but it looks like a good idea to me.
I will verify that this works fine with all classes and function that I've defined.
In the office we have many release of matlab from 2017 to 2021, I hope this will work.
Thank you @Issa and @Walter Roberson.

Connectez-vous pour commenter.

Plus de réponses (0)


En savoir plus sur Programming dans Help Center et File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by