Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Read MAT-File in Fortran

The matdemo2.F example illustrates how to use the library routines to read the MAT-file created by matdemo1.F and describe its contents. To see the code, open the file in MATLAB® Editor.

After building the program, view the results:

 matdemo2
 Directory of Mat-file:
 String                          
 Numeric                         
 Getting full array contents:
   1
 Retrieved String                          
   With size   1-by-  33
   3
 Retrieved Numeric                         
   With size   3-by-  3

Related Examples

Was this topic helpful?