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개)

Walter Roberson
Walter Roberson 2013년 4월 23일
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)

댓글을 달려면 로그인하십시오.

Ashok
Ashok 2013년 7월 29일
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

댓글 수: 1

Ashok, which OS are you using? In particular do you happen to be using Apple's OS-X ?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기

질문:

2013년 4월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by