필터 지우기
필터 지우기

MATLAB GUI for an external program

조회 수: 3 (최근 30일)
Petar Bakalov
Petar Bakalov 2011년 8월 8일
I have an application written in Fortran. It consists of a single executable file which takes input from a text file and produces another text file as output.
I want to know whether it's possible to write a program in matlab that will allow users to interact more easily with that program. In other words, something that can handle the input and output (e.g. plot some of the output data).
If this is possible, what is the best way to do this, and where can I get some instructions on how to do it? (I checked out the "External Interfaces" section of the documentation, and there seem to be some relevant resources there, but as I'm new to Matlab, I don't know whether this is the best place to start.)
Note: I also have the Fortran code.
  댓글 수: 1
MatlabNewbie
MatlabNewbie 2011년 8월 22일
How would I do this if I don't have the code? I only have the executable file.

댓글을 달려면 로그인하십시오.

채택된 답변

Friedrich
Friedrich 2011년 8월 8일
Hi,
I would compile the Fortran code into a mex file. This will allow you to call your Fortran code from MATLAB:
After that you can wrap around all kind of MATLAB code you like.
  댓글 수: 1
Petar Bakalov
Petar Bakalov 2011년 8월 9일
It seems that this will work for me! Many thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by