필터 지우기
필터 지우기

help using batch command

조회 수: 3 (최근 30일)
Andrew Harris
Andrew Harris 2015년 6월 11일
댓글: Aarti Ghatkesar 2015년 6월 16일
I am having difficulty using the batch command, it returns errors no matter how simple a script or function I give it. For instance, I offer it a script containing nothing but
clear, clc, close all
and the error I get says the data is too large to be saved. Similarly I offer it an empty function with nothing but:
function emptyFunction
end
and the error I get says there are too many output arguments. Anyone have any ideas about what's going on?
  댓글 수: 1
Aarti Ghatkesar
Aarti Ghatkesar 2015년 6월 16일
Hi Andrew
I created a script with just the statements 'clc; clear; close all' , named it as 'myscript.m , executed 'j=batch('myscript')' and it worked fine in MATLAB R2015a. Similarly, the empty function as argument did not give any issues. What is the version of MATLAB that you are using? Also, please post screenshots of the error messages obtained.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by