1. First configure the environment
Refer to matlab and python version
# 1 Enter matlabroot on the matlab command line to find the maltab path # 2 Run cmd as an administrator to enter the maltab path \extern\engines\python # 3 python setup.py install
Reference code: implement python to read simlink data python3.5 and matlab2018b version
https://github.com/lihaofei/matlab/tree/master/python_matlab