How do I run a freefem++ program from matlab?

조회 수: 8 (최근 30일)
Daniel Shvartsman
Daniel Shvartsman 2020년 10월 27일
댓글: Daniel Shvartsman 2020년 11월 2일
I have a freefem++ script, and need to execute it from matlab.
However when I try the following code:
system(['FreeFem++ ' filepath]);
I get this error message: /bin/bash: FreeFem++: command not found
How do I fix this issue or get matlab to recognize the command?

답변 (1개)

Aiswarya Subramanian
Aiswarya Subramanian 2020년 11월 2일
Hi Daniel,
The command you have used is correct, so it is possible that the file path name has spaces. Or else, kindly check the FreeFem installation at your end. You can also refer to the following links :
and see if it helps.
-Aiswarya
  댓글 수: 1
Daniel Shvartsman
Daniel Shvartsman 2020년 11월 2일
So, my file name has no spaces, and I can run the command from the terminal, but for some reason matlab does not recognize the command, what I am trying to figure out is how to add the application to matlab's search path.

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

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by