Compiler Toolbox - Generate Portable versions

조회 수: 10 (최근 30일)
Victor Girondin
Victor Girondin 2021년 8월 27일
댓글: Victor Girondin 2021년 9월 2일
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!

답변 (1개)

Rik
Rik 2021년 8월 29일
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.

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by