03-23-2008 06:05 PM
03-24-2008 05:00 AM
03-24-2008 10:48 AM
03-24-2008 09:17 PM
Hi Cek,
When I tried to load your .mat file, I got the following head information.
MATLAB 5.0 MAT-file
Platform: MACI
Created on: Sat Mar 22 09:00:11 2008
It seems that MathScript can not recognize the MACI platform and returns nothing. I do not know what's the meaning of MACI. Maybe Mac Intel, I guess. Anyway, I will report this problem.
The workaround is to change the platform to MAC2. You can modify the .mat file by any text editor, such as Notepad++. MathScript can read the .mat file with platform MAC2. I tested it and got a 442-by-512 double array from your file. You can find the modified .mat file in the attached archive. Please try and validata it.
As to the .txt file, MathScript support the function textread. If it does not work, you can try fread. I can also look into it if you can provide a sample file.
Feel free to let me know if you encounter any problems.
03-26-2008 11:58 AM
HI ttrr,
I now am using a workaround to avoid needing to load .txt or .mat files, by switching over to .tdms files logges via SE. This is much cleaner. But thanks for your advise.
CEK
03-26-2008 09:07 PM
03-28-2008 05:03 PM
Hi ttrr,
yes the modified mat file reads in perfectly. Thanks, your time, efforts, and skills are appreciated.
cek
03-28-2008 05:05 PM
Hi ttrr,
Yes I am using a Imac, Intel running XP under Bootcamp/VMfusion. And yes the data is correct.
cek
03-29-2008 08:16 AM