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

 채택된 답변

Ken Atwell
Ken Atwell 2013년 6월 20일

0 개 추천

The pcode function might do the trick for you:

댓글 수: 3

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.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Image Analyst
Image Analyst 2013년 6월 20일

0 개 추천

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.

카테고리

도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by