Clear Filters
Clear Filters

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

5 views (last 30 days)
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?

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!