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

3 次查看(过去 30 天)
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?

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by