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

 Réponse acceptée

Ken Atwell
Ken Atwell le 20 Juin 2013
The pcode function might do the trick for you:

3 commentaires

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.

Connectez-vous pour commenter.

Plus de réponses (1)

Image Analyst
Image Analyst le 20 Juin 2013
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.

Catégories

En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by