Compiler Toolbox - Generate Portable versions

4 visualizaciones (últimos 30 días)
Victor Girondin
Victor Girondin el 27 de Ag. de 2021
Comentada: Victor Girondin el 2 de Sept. de 2021
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!

Respuestas (1)

Rik
Rik el 29 de Ag. de 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.

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by