How to run multiple MATLAB tasks?
조회 수: 3 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Dinesh Yadav
2020년 6월 4일
Hi
Kindly go through the following same discussion threads
The same will apply for Fortran projects running MATLAB.
Hope it helps.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!