×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

MATLAB/FORTRAN

MATLAB/FORTRAN

MATLAB/FORTRAN

(OP)
Hello, I am playing with Fortran in my thesis project, my results show temperature, velocity and pressure field in a lubricant film under high load as well as different sliding/rolling velocities conditions. Does anyone know the way in which I can load data in a matlab file in order to plot it, I suppose that file must be .m or .mat file, but I still do not know the way of loading data from the matlab window...I also am  interested in programming a visual window connected to my program, I konw that it must be done with VISUAL frotran, does anyone know which library I must to call?
Tks
Gracias

RE: MATLAB/FORTRAN

Does your data are saved in ASCI format ?
If you did in this way. Ok build up one subrotine in Matlab to read and plots your data.
DIGITAL Visual Fortan has graphics subroutine very similar to Matlab. You are going to waste a lot of time before archive what you are looking for with Visual Fortan.

Good Luck

F.S

Aeronautical & Astronautical Professional Engineer

www.geocities.com/aero_software/
www.geocities.com/aero_mathcad/
www.geocities.com/aero_db/
www.geocities.com/warbird_2000_italy/

RE: MATLAB/FORTRAN

Later versions of MATLAB will load "flat ascii" or plan text files as well as excell spread sheets. Use the "help load" command at the prompt. It is common practice to use MATLAB to data from other languages. Use the FORTRAN format to delineate by spaces.- jk

RE: MATLAB/FORTRAN

To import data from an ASCII text file, just use the Matlab command LOAD -ascii

For example you have the file pressure.txt, then give the command
>> LOAD pressure.txt -ascii

You'll have the data loaded in a variable called "pressure".

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources