MatData
- Downloads:
- Views:
- Rating:

MatData 1.02
usage:
call read(filename,varname,var)
call write(filename,varname,var,action)
where "filename" is the string of .mat file's name, "varname" is the string of variable's name stored in .mat file, "var" is the variable's name in Fortran program, which can be any one of the following type: 0~3 dimensions, integer(kind=2) or real(kind=4) variables, or string. Other kind of variables will be supported in future.
"action" is character(len=1), optional variable ('w' or 'a'), which denotes create or append the data file "filename". If the file doesnot exist, it will be created.
Examples to use this module in Fortran 90/95:
If want to output a two-dimensional array Temp(100,200) into matlab data file result.mat, use following code:
use matdata
... ...
call write('result.mat','Temperature',temp,'w')
... ...
When read this data into another variable temp2(100,200), using
... ...
call read('result.mat','Temperature',temp2)
... ...
Since MATLAB is case-sensitive whereas Fortran is not, "varname" shoule be case-sensitive.
When compile this Fortran program, MATLAB supported .dll and .lib files libmat.dll libmat.lib libmx.dll libmx.lib libut.dll
must be in the bin and lib path, and following command line is requried:
f90 ... matdata.f90 ... libmat.lib libmx.lib
------------------------
Update, May 25, 2004:
New functions are added into the module, which include read/write one-dimensional matrix of strings.
For example, in order to read/write character(len=100), dimension(100) :: name into result.mat file,
use following code:
call write('result.mat','name',name,'w')
call read ('result.mat','name',name)
One thing should be noted: because Fortran and Matlab use different way to store string array, the subroutine to read
the string array from .mat file to Fortran array use an un-efficient algorithm, if anyone has new idea to improve it,
please contact with me. And also, with this algorithm, unicode output is invalid, evenif both Fortran and Matlab support
unicode string. I hope someone can help me to find an efficient algorithm to input/output unicode string to/from .mat file.
------------------------
Update, Sep. 24, 2004:
New functions are added to the module, which includes:
1) integer(kind=2) and real(kind=8) (double precision)
2) four-dimensions array for all kinds of data type
In order to read .mat file created by Matlab Ver 7, -V6 option should be used, for example: save -mat -V6 [variable lists]
Free download from Shareware Connection - where "filename" is the string of .mat file's name, "varname" is the string of variable's name stored in
Version: 1.02 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 27-06-2013 | Rating: 0 | Title: MatData
Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/4902/1/MatData.f90
SimpleTest
WordPress Auto Poster Plugin
Professional Simulink Audio Equalizer
PHP Print / Echo
Ends Smart Form
Output buffering, and how it can change your life
ScriptCase - PHP Code Generator
Advanced Istaller for Java
Wind Turbine Model
FORMfields - The PHP Framework
C to C++ Converter
C++ Compiler
RTFGen - the PHP RTF generator
Cumulative Mann-Kendall trend test
Affiliate Programs
Animation
Auctions
Audio Systems
Banner Rotation
Blog
Bulletin Boards & Forums
Business & Enterprise
Buttons
Calendars & Events
Charts & Graphs
Chat
Classified Ad Managers
Communication
Convert Hex String Binary String C
Find String String Batch
Dictionary String String Java
Compare String String Macro
Batch Search String String
Gray Level Run Length Matrix Toolbox - This toolbox provides several state of the art high order run length matrix statistics for image analysis.
Open Command Prompt Shell Extension - The Open Command Prompt Shell Extension integrates into your contextual menu to so you can open a command prompt window fast and easy.
MatLab's Video Lectures Series - Class02 - Part06 - This is the 6th part of 2nd Lecture of the MatLab's Video Lectures Series in ARABIC language.
MatLab's Video Lectures Series - Class02 - Part04 - This is the 4th part of 2nd Lecture of the MatLab's Video Lectures Series in ARABIC language.
MatLab's Video Lectures Series - Class02 - Part05 - This is the 5th part of 2nd Lecture of the MatLab's Video Lectures Series in ARABIC language
Shareware Connection periodically updates pricing and software information of 'MatData' from company source 'Xianyao Chen' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using 'MatData' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of MatData.
Driver Fusion - To keep your laptop and desktop running smoothly and get the best performance out of it, it is important to pay attention to some aspects. It is quite important to ensure your PC device drivers are updated. Components like motherboards, GPU and ...
RawTherapee - There are so many image editors out there but when it comes to powerful and versatile RAW file editors, the choices are somewhat limited. With Adobe switching to Cloud-based subscriptions for most of its apps, semiprofessional users including ...
Backup Dwarf Home Edition - Making backups of data and media content has become extremely important for computer users nowadays. Owing to hardware failure, you may end up losing gigabytes of precious data. Besides, you may not want to leave sensitive data accessible to all ...
7-Data Recovery Suite Free Edition - When you are dealing with lots of data it may be necessary at times to recover deleted data. The data may be deleted by mistake or by someone else. In such instances, it becomes necessary to retrieve the deleted data. You need to use third party ...
PCFerret - For average PC users learning about the details of each hardware component used in the laptop or desktop may not be an easy task. It is something the geeks can find out easily. However, less tech savvy PC users can surely resort to specialized ...
Cold Turkey - To keep your kids and teenage family members away from pornographic and objectionable websites you can use parental control software. Such apps offer numerous restrictive measures to limit PC and web access for young users. However, adult users ...
PC DeCrapifier - There is hardly any computer user who does not want to keep the PC running at top speed. However, unnecessary software and bloatware can reduce the speed and performance of your PC. Such Apps often come pre installed with laptops and desktops. ...
Argente Utilities - You can find so many third party utilities that can be used to maintain a Windows based PC and extract maximum performance from it. While these tools offer better performance than Windows in-built utilities, the plethora of choices can make ...
Roboscan Internet Security Free - Owing to incessant onslaught of various web based and other malware, it is not possible to keep your PC secured unless you use a capable system security suite. As a matter of fact, it is better to use feature- rich Internet security software than ...
Windows Live Family Safety - Using parental control applications has become a necessity for those people who have tech savvy kids and computers at home. In fact, you should use such software even if your kid is not tech savvy. Needless to say, children depend on internet for ...

