Custom Function error messages
1 回表示 (過去 30 日間)
古いコメントを表示
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
0 件のコメント
採用された回答
Walter Roberson
2013 年 3 月 17 日
How are you starting up your dataSplit function? It appears that you might be using F5 or using Run from the menus. To run a function that takes input arguments, you need to go to the command line and enter the call there, giving the inputs on that line.
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で System Commands についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!