Trying to distribute code that is usable but cannot be copied or altered

Hi. I have written several different specific, likely proprietary programs that I need to distribute to my team. I'd like for them to be able to run the program, provide input data, and get output data, but I'd like to protect the code from being altered or copied. Is there a way? I have attached a picture showing an example of the simple functions and programs that need to be parsed or compiled into one tidy package.
Thanks...I bet it's too easy!!!!

1 Kommentar

Gary - there is no attached picture. You can look into pcode which creates a protected file and obfuscates the code in your m-file. It may do what you want.

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Guillaume
Guillaume am 4 Sep. 2014

2 Kommentare

pcode is a simple & straightforward answer.
compiling your matlab into an exe might be more sensible if it's in a suitable format.
telling them off for editing the code might be more appropriate.
I believe the pcode version requires the end users to have bought the full blown MATLAB while the standalone executable does not and can be distributed free.

Melden Sie sich an, um zu kommentieren.

Image Analyst
Image Analyst am 4 Sep. 2014
If you have the MATLAB compiler, you can create a standalone executable.

3 Kommentare

How do I know if I have this compiler? I am on a corporate users license with very little detail of what we actually have.
Thanks!
ver
will tell you all the toolboxes you have.
type in the following to select the available compilers in your Matlab
mex -setup

Melden Sie sich an, um zu kommentieren.

Gary
Gary am 4 Sep. 2014
There you go.....Also asking tech support the same question. Thanks already guys.

Kategorien

Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 4 Sep. 2014

Kommentiert:

am 5 Sep. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by