external text interface program will work on R2009b, but not R2012a
이전 댓글 표시
Hi all, im trying to run an external program with a fortran text interface through matlab [ie system('program')] on a unix HPC cluster. This works fine on R2009b, but will not work on R2012a. Generally it runs without an error, but no text appears and it does not wait for any input, it just runs and exits. I have tried running it in an xterm window [ie system('xterm -e program')] and it does the same thing. I can't find anything in the release notes to explain this; does anyone know why this might be, and if there is a workaround? I need to use the R2012a version for license reasons.
Cheers, Andy
댓글 수: 4
Walter Roberson
2013년 1월 14일
Which compiler was used for the fortran code?
Andy
2013년 1월 14일
Walter Roberson
2013년 1월 14일
Hmmm... Please have a look at the work-arounds for a Fortran problem some people had in R2012a; http://www.mathworks.co.uk/matlabcentral/answers/43640-a-peculiar-problem-when-using-system-command-to-run-a-c-shell-script-from-matlab
Andy
2013년 1월 14일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!