I am working with matlab under a HP workstation, and with a PC too. This is my problem: With a C program under DOS I write a data file, de data are 16 bits integers. When I open this files with matlab for windows 'int16', the data are correct, but when I open the files with Matlab for HP workstation with the same format the data are wrong.
The first data I read in my PC is: 839 ----> 00000011 01000111 (binary) The first data I read in HP is : 18179 ----> 01000111 00000011 (binary)
The Hight and Low bytes are changed.
Is there any automatic way to solve this problem ?
Thanks in advance.
Marcelino Martinez Sober (e-mail: firstname.lastname@example.org) University of Valencia SPAIN