I need somebody familiar with both NONMEM 7.2 and Matlab R2013a to answer my question. I used the code published here: http://www.mathworks.com/matlabcentral/fileexchange/34889-struct2csv to make a datafile (a .csv file) for simulations in NONMEM. When NONMEM tries reading the .csv file, it ends up reading code of the file in Matlab. Why is this happening and what is the solution to this?
Additionally, if somebody has an alternative technique of writing structures to a .csv file, I would appreciate it. I'm sorry I cannot post the code because this is related to a research project in progress.