Hello, Is there any way that i can lock my models that i create in MATLAB/Simulink? I want to protect my Matlab/Simulink files with password in order to avoid any modifications from other peoples. Thanks

2 views (last 30 days)
Hello, Is there any way that i can lock my models that i create in MATLAB/Simulink? I want to protect my Matlab/Simulink files with password in order to avoid any modifications from other peoples. Thanks

Answers (2)

Joseph Cheng
Joseph Cheng on 6 Jan 2016
Edited: Joseph Cheng on 6 Jan 2016
depends on what you're doing and how you're giving them to people. Do you want them to still be able to read them? if not at least for m files you can pcode them http://www.mathworks.com/help/matlab/matlab_prog/protect-your-source-code.html. I do not know if simulink has something similar but now you know what to search for. I do not know how to keep them in a readable format and still protected. note that its not password protected just obfuscated. you'll need to keep the source
Otherwise if you could compile them with matlab's application compiler.

Walter Roberson
Walter Roberson on 6 Jan 2016

Community Treasure Hunt

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

Start Hunting!