What is the easiest way to provide the user with a compiled version of a matlab function so that he can run without having the source?
8 views (last 30 days)
Show older comments
I do not want to share the source (a prepared MATLAB function) with the community. What is the most direct way to prepare a compiled version of the function so that the users (having Matlab) can run it?
0 Comments
Accepted Answer
Matt J
on 21 Oct 2024
Edited: Matt J
on 21 Oct 2024
If the idea is to obscure the source code, consider,
This is not so much "compiling" the source code as encrypting it, but that sounds more like what you are trying to do.
2 Comments
Walter Roberson
on 21 Oct 2024
Note that pcode is considered to be more "encoding" rather than "encrypting".
The pcode algorithm changed a few releases ago to make it more obscure. I have not seen anyone post indicating that they have reverse-engineered the new pcode algorithm -- but that doesn't mean that no-one has done it.
pcode should be considered to be a "notable nuisance" level of protection, but definitely not "stops most nation-states" level of protection.
Matt J
on 21 Oct 2024
Here is another relevant link,
More Answers (0)
See Also
Categories
Find more on Audio Plugin Creation and Hosting in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!