| I could use some help from anyone running spm99 on windows NT! I've just
| installed matlab and spm99 on my PC. I'm able to get spm started up, but I
| cannot display any images. The error I get is "matrix is singular or badly
| scaled". Also the dimensions in the display window are grossly incorrect.
| I'm able to display these images no problem on my unix implementation, so
| I'm not sure why it doesn't work on the pc?
My suspicion is that the field containing the size of the .hdr file has
not been filled in. The spm_hread.m function checks this field (the first
32 bit integer in the file). If its value is 1543569408 (byte swapped 348),
then it knows that the .hdr and data may need their bytes swapping around.
Best regards,
-John
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|