Rank: 3270 based on 33 downloads (last 30 days) and 2 files submitted
photo

Xianyao Chen

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Xianyao View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
24 Sep 2004 MatData Ver 1.02 Read/write .mat data file in Fortran 90/95 using MATLAB supported external functions. Author: Xianyao Chen external interface, matlab extern functio..., fortran 90, 95, utilities, external 3 9
  • 4.5
4.5 | 6 ratings
10 Jun 2004 Compare two .mat files Compare two .mat files and display the contents and difference of mat files. Author: Xianyao Chen path, directories, files, compare, mat, file 30 6
  • 4.33333
4.3 | 6 ratings
Comments and Ratings on Xianyao's Files View all
Updated File Comment by Comments Rating
22 Jun 2012 MatData Ver 1.02 Read/write .mat data file in Fortran 90/95 using MATLAB supported external functions. Author: Xianyao Chen Pushkar

If someone has code which is compatible to fortran 77 then please provide it.

It is working fine with visual studio. But I want to use it with PDCAD to write files directly in .mat format. PSCAD uses Main.f file where the code is written in fortran 77 in fixed format.

Any help will be appreciated.

09 Jan 2012 Compare two .mat files Compare two .mat files and display the contents and difference of mat files. Author: Xianyao Chen Rau, Jochen

Very useful. Thanks!
Another nice extension would be to integrate sth like submission #22752 (recursive comparison of structures) if a variable is a structure.

18 Oct 2011 Compare two .mat files Compare two .mat files and display the contents and difference of mat files. Author: Xianyao Chen Natalia

Excellent, thank you!

07 Dec 2010 Compare two .mat files Compare two .mat files and display the contents and difference of mat files. Author: Xianyao Chen Mohammed

good one

19 Jun 2010 MatData Ver 1.02 Read/write .mat data file in Fortran 90/95 using MATLAB supported external functions. Author: Xianyao Chen Gordon, Grey

Absolutely fantastic piece of code, the word on this has to get out.

To use this on a 64bit architecture, as Nikolas Losse pointed out, a change must be made. For me, doing find replace integer(kind=4) with integer(kind=8) worked.

Also, as for linking, I use ifort 11.1 64bit and windows 7 64bit. What worked for me was setting

set LIB=%LIB%;D:\MATLAB\R2010a\bin\win64;D:\MATLAB\R2010a\extern\lib\win64\microsoft
set PATH=%PATH%;D:\MATLAB\R2010a\bin\win64;D:\MATLAB\R2010a\extern\lib\win64\microsoft

from the command line and adding

/I"D:\MATLAB\R2010a\extern\lib\win64\microsoft"

to ifort. Some of these might be redundant.

Contact us