matlab based applications

can one create an exe or *.m file in matlab,wherein the sorce code remains safe with the programmer,unknown to the user

Answers (1)

You can compile your m-file to .p file.
help pcode
You can also compile your m-file to .exe file if you have the Matlab Compiler Toolbox.
help mcc

2 Comments

do programs based on image processing also get compiled to *.exe
It should. You may need to deploy some supporting files along with the compiled .exe file. The deploytool GUI may help you to do that.
help deploytool

This question is closed.

Asked:

on 21 May 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!