Getting around using "mwpython" on arm based Macs

  • MATLAB R2023b not supports ARM. I am creating Python packages from MATLAB code.
  • However, when using these packages in Python scripts, it appears necessary to execute them via 'mwpython'. This is a shell script that sets environment variables and invokes the script using '/Applications/MATLAB_R2023b.app/bin/maca64/mwpython3.11.app/Contents/MacOS/mwpython3.11.app',
  • Reason seems to be macOS restricts calling graphics code from the main thread.
If the Python scripts do not involve graphic code, is it possible to utilize the default Python interpreter instead of 'mwpython'? Are there alternatives to bypassing the use of 'mwpython'?"

답변 (0개)

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

질문:

2024년 2월 23일

편집:

2024년 2월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by