MATLAB Answers

Make App designer app files inaccessible

2 views (last 30 days)
Hi all,
Is there a way to make my app main files innaccecicle to other users once intalled ?

  1 Comment

Khalala Mamouri
Khalala Mamouri on 20 Sep 2020
Ok , so now i am realy getting enougth of your negative comments as always, it is the 3 rd time now i get a negative review from you ! , i accept the answers that work ... ok ? When i get no working answer i do not accept, maybe someone else has the solution *... regarding you last answer about my problem with the loading bar, yes i got another negative answer from you, however i will close my eyes once again ... Matlab help does not always offer a solution, if i had one i wouldn't come here to ask sir ok ? and the solution to the last problem i solved it by my own. Just a missing delay. i can not accept your answer since it was wrong will mislead other people... So next time, please if you have an answer to one of my questions please leave it in comment kindly, otherwise just don't comment please ... Thank you

Sign in to comment.

Accepted Answer

Mohammad Sami
Mohammad Sami on 20 Sep 2020
According to MATLAB documentation, protecting simulink model requires simulink coder license. References
https://www.mathworks.com/help/simulink/ug/use-a-protected-model-in-simulation.html
https://www.mathworks.com/help/rtw/ug/create-a-protected-model-using-the-model-block-context-menu.html

  2 Comments

Khalala Mamouri
Khalala Mamouri on 20 Sep 2020
hi mohammed,
First thanks for the answer, i think it should work for simulink, but i think the picture i have put is missleading sorry !; i am actualy looking for a way to hide all the files in the picture not only simulink (.m files also) . i want the users to use the app, but without reverse ingeneering it ( getting acces to the functions and all the diffrent files). Do you have any suggestion for me please ?
Thank you
Mohammad Sami
Mohammad Sami on 20 Sep 2020
MATLAB .m file can be encrypted / obfuscated with the pcode function. See reference below.
https://www.mathworks.com/help/matlab/ref/pcode.html

Sign in to comment.

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!