PCODE
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi there, I have a series of function (seperate m-files) that complete a project/task. I want to hide the code when I share it with others. I have an idea of PCODE and mcc in MATLAB, but by any chance is there a way where I can create just one exe file or a p-file instead of all the concerned m-files of the project.
Regards
0 Commenti
Risposte (2)
Chirag Gupta
il 9 Ago 2011
Depends on what you want? Pcode functionality is built in MATLAB whereas mcc uses the MATLAB Compiler product.
At the same time, to run pcoded files, the user must also have MATLAB installed whereas if you are using mcc to create an executable then the user can run your application without having MATLAB installed.
If you are distributing your code to users that already have MATLAB installed, pcode would be better!
0 Commenti
Fangjun Jiang
il 9 Ago 2011
Using pcode(), you will get many .p files, maybe as many as your .m file. Using mcc(), you might be able to get one .exe file but you still need to provide many other supporting files. I would recommend just using pcode().
0 Commenti
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!