I am using Ubuntu 17.10
Python version: 2.7.14 Anaconda
I have Matlab R2017b installed. I also installed pymatlab-0.2.3
When I run following commands in python, I get "Segmentation fault (core dumped)" and ipython closes.
import pymatlab
session = pymatlab.session_factory(options = 'nodesktop -nodisplay')
Also, when I debugged it using gdb, it gives following stack trace:
Starting program: /home/jsingla/anaconda2/bin/python test.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff17f8029 in engOutputBuffer () from /usr/local/MATLAB/R2017b/bin/glnxa64/libeng.so
matlab nodesktop -nodisplayon terminal