Compiler Toolbox - Generate Portable versions
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
Do you know if it's possible to create stand-alone apps with the Compiler toolbox that do not require an installer (in other words create portable versions)?
The objective is to by-pass admin rights requirements.
Thanks and have a great day!
0 commentaires
Réponses (1)
Rik
le 29 Août 2021
To my knowledge this is only possible if all target machines have Matlab installed (or the MCR).
An alternative would be to use Coder to generate C code from your functions and compile that to a stand-alone application. There are many restrictions, so this might not be possible. It will probably require a substantial rewrite.
Another option I personally use is to modify your code to make it compatible with GNU Octave. The zip versions are portable. You should check if your use case is allowed by the terms of the license. Going this route will sacrifice a lot of performance and might require you to implement missing functions. Octave is not a drop-in replacement for Matlab, but in some cases they can serve a similar purpose.
Voir également
Catégories
En savoir plus sur MATLAB Compiler dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!