Getting around using "mwpython" on arm based Macs
Mostrar comentarios más antiguos
- 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'?"
Respuestas (0)
Categorías
Más información sobre Call Python from MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!