Getting around using "mwpython" on arm based Macs
Afficher commentaires plus anciens
- 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'?"
Réponses (0)
Catégories
En savoir plus sur Call Python from MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!