For Programmers: Free Programming Magazines  


Home > Archive > Matlab > September 2006 > ? need MataLab exe a licence









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ? need MataLab exe a licence
Cheng Cosine

2006-09-12, 10:03 pm

Hi:

MatLab v6 to 7 provide mcc command to compile mfile(s) to an

almost stand-alone excutable. To run that exe, one still needs

to have a licence of MatLab. My question is, one needs not to

run MatLab explicitly to run Matlab compiled exe, does that mean

that running Matlab compiled exe does not require a quota of

Matlab licence so that in the case one only has a licence of

Matlab, person A can run Matlab while person B is running an

exe compiled by Matlab?

Thanks,
by Cheng Cosine
Sep/12/2k6 NC


BillC.

2006-09-13, 4:12 am

yes. You can compile the coded function/program into an exe even
while the only toobox licenses are checked out to other users. Then
you can run the exe independently of license availability. The run
time must be installed to run the exe. Be sure to call the exe
explicitly because not doing so will call the m file/function (which
will want the license).

In other words, if spew.m won't run because a license in unavailable,
compiling spew into spew.exe can still be done. calling spew.m will
fail if a toolbox license in not available, but calling spew.exe will
launch and run successfully. This advice presumes that you can get
Matlab to start and the compiler to execute (which requires a
license). Then just touch off spew.exe with explorer outside of
matlab.
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com