### call FEniCS in matlab

262

views

0

Hi, I want to couple two FEM methods, I have solved one method in Matlab and another in FEniCS. How can I call FEniCS from MATLAB so that I can run simulation simultaneously?

Thanks for the help.

FEniCS version 1.6.0

matlab 2014b

Thanks for the help.

FEniCS version 1.6.0

matlab 2014b

Community: FEniCS Project

Can you not run one simulation followed by the other and get the same result?

written
9 months ago by
pf4d

I want to run simultaneously because I will pass the information from one method solution to input of another method. So, I want to call FEniCS in between MATLAB code.

written
9 months ago by
hirshikesh

### 3 Answers

1

You could consider call your MATLAB(OCTAVE) code from python using oct2py.

0

Translate your Matlab code into Python, or write a script to call code in another language and convert output to the format you desire.

0

Translate your Matlab code into Python, or write a script to call code in another language and convert output to the format you desire.

means we can not call FEniCS in matlab if so, Is this possible FEniCS --> Fortran ?

written
9 months ago by
hirshikesh

http://hplgit.github.io/fenics-mixed/doc/pub/sphinx-cbc/index.html

written
9 months ago by
pf4d

Please login to add an answer/comment or follow this question.