Custom Function error messages
Mostrar comentarios más antiguos
Hi
I have the following custom function
function [OUT1,.....,OUT10]=dataSplit(origSet,testPoint,testDur,tap,trainVol,valVol)
where origSet is basic input (a spreadsheet 6 columns and several hundred rows) and the remainder of inputs are integers.
In the workspace I have the 6 inputs.
when I run dataSplit I get the following error message.................
Error using which (underlined)
Undefined function or variable 'origSet'.
Error in run (line 54)
[runDir,~,rext] = fileparts(which(script));
What do these error messages mean please?
Bob M
Respuesta aceptada
Más respuestas (1)
Bob Matthews
el 17 de Mzo. de 2013
0 votos
2 comentarios
Walter Roberson
el 17 de Mzo. de 2013
Leave out the word "run"
Bob Matthews
el 20 de Mzo. de 2013
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!