'Run Script as Batch Job' error

조회 수: 2 (최근 30일)
Matt J Dunn
Matt J Dunn 2017년 1월 31일
답변: Jayaram Theegala 2017년 2월 3일
Selecting 'Run Script as Batch Job' on a script in the Folder view produces the following error:
Undefined function or variable 'parallel.internal.ui.runAsBatchJob'.
It looks to me like this is a bug with MATLAB. I'm using a Mac, and using MATLAB version 9.1.0.441655 (R2016b).
  댓글 수: 1
Edric Ellis
Edric Ellis 2017년 2월 2일
This looks like a problem with your MATLAB installation - I suggest contacting MathWorks support.

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

답변 (1개)

Jayaram Theegala
Jayaram Theegala 2017년 2월 3일
As may already know, the "runAsBatchJob" function should be present in the distcomp(Parallel Computing Toolbox) folder.
>> which -all 'parallel.internal.ui.runAsBatchJob'
C:\Program Files\MATLAB\R2016b\toolbox\distcomp\cluster\+parallel\+internal\+ui\runAsBatchJob.m
Can you verify that you have the "distcomp" folder inside your MATLABROOT\toolbox folder. If the folder is missing, you can try reinstalling the Parallel Computing Toolbox product and then you can use the above command to make sure that "runAsBatchJob" function is present.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by