When writing a function with arguments, can the arguments be separated by a line break in some way (in the same way that they can be separated by whitespace characters such as space or tabulator indentation? And example is to go from the code line
choice = inputdlg(prompt,dlg_title,num_lines,defaultans);
to the (non-working) lines
choice = inputdlg( prompt, dlg_title, num_lines, defaultans);
The error shown in this particular case is (it starts at line 9):
Error: File: MultipleDataFiles.m Line: 9 Column: 19Expression or statement is incorrect--possibly unbalanced (, {, or [.
Best Answer