フィルターのクリア

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 Center および File ExchangeFortran with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by