Does executable matlab (.exe) require special license (parfor, optimization) to run?

Dear experts,
I'm trying to create an executable file from MATLAB with mcc. I have no problem running it normally, but when I create parallel computing (parfor & matlabpool). The executable file does not work. My computer has MCRinstaller and MATLAB, but the MATLAB has no parallel license. Do I need the special license to perform this task?
Thanks, Peet

2 个评论

Could you also paste the exact error that you are seeing?
Also keep in mind that the possibiliy to compile parfor and matlabpool with local workers was introduced in 11a.

请先登录,再进行评论。

回答(2 个)

The system that is doing the compiling needs to have the Parallel Processing Toolkit license. The system that it is being run on does not need the license.
Exception: Distributed Computing (required to use more than 12 cores or to use multiple hosts.)

1 个评论

I didn't enable distributed computing but still I'm getting an error related to distributed computing (please see below comment)

请先登录,再进行评论。

Hi I'm getting the following error while running exe
The class "distcomp.remoteparfor" is undefined. Perhaps Java is nor running.
When I'm running the matlab script it is running. Only exe has this problem
Regards Ashok

类别

帮助中心File Exchange 中查找有关 Parallel for-Loops (parfor) 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by