Is it possible to exchange data files between platforms?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Why do I receive an "invalid Figure file format" error when I try to open a figure file on a platform different from the one it had been created on? or
Is it possible to exchange data files between platforms?
For example, can I export a binary file from a SUN workstation to an SGI?
Respuesta aceptada
MathWorks Support Team
el 28 de En. de 2010
MATLAB applications consist of MATLAB files, which contain functions and scripts, and MAT-files and FIG-files which contain binary data. Both types of files can be transported directly between different computers.
MATLAB files are ASCII files consisting of ordinary text. They are machine-independent.
MAT-files and FIG-files can be transported between machines because they contain a machine signature in the file header. MATLAB checks the signature when it loads a file, and, if a signature indicates the file is foreign, it performs the necessary conversion.
To use MATLAB across several different machine architectures, you need a facility for exchanging both binary and ASCII data between the two machines. Examples of this type of facility include FTP, NFS, Kermit, and other communication programs.
PLEASE NOTE: When using these programs, be careful to transmit binary files in binary mode, and ASCII files in ASCII mode. Failure to set these modes correctly with these programs corrupts the data.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Import and Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!