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 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by