Is it possible to exchange data files between platforms?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
MathWorks Support Team
am 28 Jan. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!