csvwrite error: Undefined function ‘real’
I wrote a code to ask the user for information on the periodic table and put it into a struct. That all worked just fine. But I now need to write it to a cvs file and thats where it is not working.
Im getting the error: "Underfind function ‘real’ for input arguments of type ‘struct’".
The code where the error(s) are occuring
<</matlabcentral/answers/uploaded_files/112691/matlab.PNG>>
Im not too familiar with cvs. So am I not doing it right or am I hitting an error because of the way I wrote the code and how can I fix it?I wrote a code to ask the user for information on the periodic table and put it into a struct. That all worked just fine. But I now need to write it to a cvs file and thats where it is not working.
Im getting the error: "Underfind function ‘real’ for input arguments of type ‘struct’".
The code where the error(s) are occuring
<</matlabcentral/answers/uploaded_files/112691/matlab.PNG>>
Im not too familiar with cvs. So am I not doing it right or am I hitting an error because of the way I wrote the code and how can I fix it? I wrote a code to ask the user for information on the periodic table and put it into a struct. That all worked just fine. But I now need to write it to a cvs file and thats where it is not working.
Im getting the error: "Underfind function ‘real’ for input arguments of type ‘struct’".
The code where the error(s) are occuring
<</matlabcentral/answers/uploaded_files/112691/matlab.PNG>>
Im not too familiar with cvs. So am I not doing it right or am I hitting an error because of the way I wrote the code and how can I fix it? cvswrite MATLAB Answers — New Questions