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 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Matt J
Matt J le 21 Oct 2024
Modifié(e) : Matt J le 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 commentaires
Walter Roberson
Walter Roberson le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Audio Plugin Creation and Hosting dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by