Hello,
I've posted to this forum previously; I've inherited an old .m file (10 year old code) for vehicle dynamics that I'm trying to make more robust and efficient. I'm receiving tons of errors, but I'm slowly sorting through them.
This error involves a print function that prints each figure (a total of 12 figs) and creates a .ps file and a summary text file. I've tried debugging the error, but I'm not able to fix it.
Here is the code that follows each plot:
if 1i==1, eval(['print -dpsc ' prfile]);else% eval(['print -dpsc -append ' prfile]);
end
Here is the error:
??? Error using ==> inputcheck at34Multiple inputs that look likefilenames: 'C:Error in ==> print at 163 [pj, devices, options ] = inputcheck( pj, inputargs{:} );Error in ==> OC_N1_rev1 at 520eval(['print -dps -append 'prfile]);
I can paste more code if you need it to dissect the problem further.
If there is code to bypass the .ps file and go to .pdf that would be much better. Again, I'm not very strong on the programming side of matlab.
Thanks for you help!
Best Answer