How to make the source code of a software in MATLAB hidden?

I have made a software in MATLAB, containing a GUI. I would want the public to not have access to the source code, but rather access it through the GUI. The mcc command is one option but there is a problem with that. Is there any other way possible? Thanks in advance

 Accepted Answer

The pcode function might do the trick for you:

3 Comments

I made the pcode, thanks for that information. But MATLAB is not running the pcode now. When I click on the p-code file, it just causes MATLAB command window to open, but the file does not open. What should be done?
The 'p-code'd file can be run/executed in the same way as an m-file. But you wont be able to open and read its contents. Even if you do open it, the contents would appear garbage. Also the 'p-code'd file takes precedence over an m-file of the same name.
Yes, now the pcode is working fine. Thanks for your help.

Sign in to comment.

More Answers (1)

What is the problem with compiling it with the mcc command? The compiler costs a lot of money - if you have a problem with it you should call them. No sense paying a lot of money for something that you can't figure out how to work.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Tags

Community Treasure Hunt

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

Start Hunting!