← Back to team overview

yade-users team mailing list archive

[Question #688980]: Calling MATLAB from YADE

 

New question #688980 on Yade:
https://answers.launchpad.net/yade/+question/688980

Hello,

I need to call a pretrianed MATLAB ANN from YADE to calculate drag force (https://link.springer.com/article/10.1007%2Fs11242-019-01308-9).

The MATLAB engine "matlab.engine.start_matlab" enable Python to call MATLAB functions . The command simply return input and output arguments.

I could call the MATLAB script to compute the drag force from a python script.

However, when I run a .py script from terminal using "python yade test.py", I face the error "Segmentation fault (core dumped)".

test.py contains the following:

from yade import pack, plot
import matlab.engine
matlab.engine.start_matlab()

Has anyone had the same problem?

Thanks in advance,

Regards 

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.