Trying to distribute code that is usable but cannot be copied or altered
Mostrar comentarios más antiguos
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 comentario
Geoff Hayes
el 4 de Sept. de 2014
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.
Respuestas (3)
Guillaume
el 4 de Sept. de 2014
0 votos
2 comentarios
Iain
el 4 de Sept. de 2014
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.
Image Analyst
el 4 de Sept. de 2014
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.
Image Analyst
el 4 de Sept. de 2014
0 votos
3 comentarios
Gary
el 5 de Sept. de 2014
Guillaume
el 5 de Sept. de 2014
ver
will tell you all the toolboxes you have.
Yawar Rehman
el 5 de Sept. de 2014
type in the following to select the available compilers in your Matlab
mex -setup
Gary
el 4 de Sept. de 2014
0 votos
1 comentario
Image Analyst
el 5 de Sept. de 2014
That's not the result of "ver"
Categorías
Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!