01-26-2009 04:40 PM
I have been trying to run a .m file while begins with a number of % 'commented" out statements to aid in program set up. I get this error as above as "error in line 0 and then the internal error message. Please advise is this an issue using % or else where in the program?
Chuck
Solved! Go to Solution.
01-26-2009 04:50 PM
01-26-2009 07:32 PM
HI GRANT, I HAVE BEEN TAKING THAT APPROACH AND IT DOES HELP NOW I AM STUCK WITH USING THE EVAL FUNCTION AS I HAD WORKING FINE IN MATLAB. AS AN EXAMPLE, I INPUT THE FILE NAME, THEN USE EVAL TO LOAD THE FILE. EXAMPLE,
DATAFILE=INPUT(' TYPE NAME OF DATA FILE IN SINGLE QUOTES ')
EVAL (['LOAD',DATAFILE]);
NOW IN MATHSCRIPT I HAVE NOT FOUND A SYNTAX THAT WORKS.
PLEASE ADVISE,
CHUCK
01-29-2009 02:51 PM
Cuck,
If you still need help with this, please go to the post options and undo "mark as accepted solution". Right now everybody thinks the problem is solved.
01-29-2009 02:59 PM
I have tried to reverse the accepted and have not been able to do so. What have I missed?
Chuck
01-29-2009 03:36 PM
01-29-2009 05:06 PM
01-29-2009 06:49 PM
Am I to understand I can not use a eval function to load a .mat file? Or an .txt file? This it must be saved in a mlv format?
Thanks
Chuck
01-30-2009 03:13 PM