help > How do I use the command line to do NBS analysis
Showing 1-2 of 2 posts
Display:
Results per page:
Jun 12, 2022  02:06 PM | Sitong Chen
How do I use the command line to do NBS analysis
Dear Andrew,
     Function or variable 'S' is not recognized. Error dNBSrun (line 265) [MSG, stop] = errorcheck (UI, DIMS, S);
     The above prompt is when I input dNBSrun(UI) this line of code, MATLAB report error. I would like to ask you what S is and how I should define it, because it seems that the mistake is caused by my failure to define S, but I do not understand what S is.

Yours sincerely
Chen Sitong
Attachment: NBS11.m
Jun 13, 2022  12:06 AM | Andrew Zalesky
RE: How do I use the command line to do NBS analysis
Hi Chen, 

You can just replace S with an empty array:

S=[]; 

or 

[MSG, stop] = errorcheck (UI, DIMS, []);


Let me know if this does not work, and I can investigate further. 
best,
Andrew

Originally posted by Sitong Chen:
Dear Andrew,
     Function or variable 'S' is not recognized. Error dNBSrun (line 265) [MSG, stop] = errorcheck (UI, DIMS, S);
     The above prompt is when I input dNBSrun(UI) this line of code, MATLAB report error. I would like to ask you what S is and how I should define it, because it seems that the mistake is caused by my failure to define S, but I do not understand what S is.

Yours sincerely
Chen Sitong