Filter löschen
Filter löschen

Can I use standalone matlab .exe files without licencing problems?

21 Ansichten (letzte 30 Tage)
Hi;
Assume that I have a matlab code which uses image processing toolbox (imaq) and I do not have the licence for that toolbox. Can I create a standalone .exe file and run it on any computer I want without needing the licence?
Thanks.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 29 Jan. 2016
You can use license() to 'test' whether you have access to a license and use alternate coding if you do not.
However, I gather that the license that is used at the time of execution is the license that the person compiling it had. The executables are stand-alone: they do not go fishing through all of the MATLAB licenses owned by the executor to try to find one that permits the operation: they rely upon what the person who compiled had access to.
So if you are compiling and you do not yourself have that toolbox, then the executable will not be allowed access to the toolbox. It might still be worth putting in the license test, though, as it would give flexibility for other people who might compile the code.

Weitere Antworten (1)

Image Analyst
Image Analyst am 30 Jan. 2016
You cannot compile it into a standalone executable. In fact, since it uses IPT functions and you don't even have that toolbox, you can't even run the m-file program.
However if you find someone else in your company or organization who has both the compiler and IPT then they can compile it into a standalone executable. The Mathworks is okay with that as far as licensing goes. I deploy image processing standalone executables all the time to people in our company who have no version of MATLAB whatsoever installed. Sometimes I even compile for other people in our company who have MATLAB but don't have the compiler. It's perfectly legal and allowed.

Kategorien

Mehr zu Manage Products finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by