How to run multiple MATLAB tasks?

8 ビュー (過去 30 日間)
Wu Gao
Wu Gao 2020 年 4 月 29 日
回答済み: Dinesh Yadav 2020 年 6 月 4 日
I linked a Fortran project with MATLAB to acheive the data exchange.
The Fortran subroutine is running on the Visual Studio 2010, win10. The version of MATLAB is R2019a.
Following code in the Fortran subroutine is used to call and run MATLAB with a simple window:
result_matlab = SYSTEMQQ("C:\PROGRA~1\MATLAB\R2019a\bin\matlab.exe" -wait -nodesktop -nosplash -r "my_mfile")
In order to do parameter analysis, two Fortran projects are built. However, if the first project is running, the second one can only open its own MATLAB window but with error message. It seems like multiple MATLAB tasks can't work at the same time in this way.
How to solve this problem? Thanks in advance.

回答 (1 件)

Dinesh Yadav
Dinesh Yadav 2020 年 6 月 4 日

カテゴリ

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