Effacer les filtres
Effacer les filtres

help using batch command

3 vues (au cours des 30 derniers jours)
Andrew Harris
Andrew Harris le 11 Juin 2015
Commenté : Aarti Ghatkesar le 16 Juin 2015
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 commentaire
Aarti Ghatkesar
Aarti Ghatkesar le 16 Juin 2015
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by