MATLAB: Private\ Secret content image processing Hi Is it possible to make packages of M-files private such that people can't look inside while they can only run it and see the results? Best Answer Check here: https://www.mathworks.com/help/matlab/matlab_prog/protect-your-source-code.html. You can use pcode function to hide you MATLAB source code. Related SolutionsMATLAB: Question about private functions There is no reason the two versions should be in conflict. When running cftool, it should be calling its private version (private functions always get precendence), which is what you want. MATLAB: Hiding model content If you have RealTime workshop license then there are 2 ways of protecting you your model-You can genearte a s-function from the model, compile the s-function to mex file and deliver only mex-file. Mex file can be used with s-function block in model. See Generated S-Function>and <http://www.mathworks.com/support/solutions/en/data/1-1BUQG/index.html?solution=1-1BUQGYou can generate a protected model (.mdlp) through model rerencing. See Protecting Referenced Models Related QuestionTesting private functions in classesLicense for private usageLicense for private toolboxSection can’t find private function
Best Answer