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

3 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Abderrahim. B
Abderrahim. B il 25 Ago 2022
Hi!
Maybe you convert it to a protected code using pcode. See how in the link below:
Hope this helps
  2 Commenti
Walter Roberson
Walter Roberson il 25 Ago 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 il 25 Ago 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by