Dear Sir/Madam,
I have installed Matalb2018b on my Mac OSX 10.13.6. I am trying to use the function dlmwrite but it gives the error message: Too many output arguments. I am using a simple example from the dlmwrite help page. Please follow the commands given in the Command Windows:
>> M = magic(3);
>> dlmwrite dlmwrite('myFile.txt',M)
Error using dlmwrite (line 104)
Too many output arguments.
>>
>> dlmwrite("myFile.txt",M)
Error using dlmwrite (line 104)
Too many output arguments.
>>
>> which all dlmwrite
built-in (/Applications/MATLAB_R2018b.app/toolbox/matlab/ops/all)
>>
>> dbtype 'dlmwrite' 1
1 function dlmwrite(filename, m, varargin)
dlmwrite gives the "Too many output arguments" error message with Matlab 2018b and Matlab 2017b. Instead dlmwrite works fine with MAtlab 2016b and Matlab 2015a. All these versions are installed on this Mac.
Thank you
Best Answer