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

8 visualizaciones (últimos 30 días)
Daniel Shvartsman
Daniel Shvartsman el 27 de Oct. de 2020
Comentada: Daniel Shvartsman el 2 de Nov. de 2020
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?

Respuestas (1)

Aiswarya Subramanian
Aiswarya Subramanian el 2 de Nov. de 2020
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 comentario
Daniel Shvartsman
Daniel Shvartsman el 2 de Nov. de 2020
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by