Platform dependency of matlab compiled python library
Mostra commenti meno recenti
Matlab functions compiled into python package on a windows machine is not initializable in Linux environment.
This issue happens only when toolbox dependencies are included in the package (eg. rainflow)
Is there an option to compile from a windows machine for a linux environment?
Is there any other solution other than installing matlab in linux to do the compilation?
Log error as below:
SystemError: "Application not supported on Linux due to platform dependencies. Intended platforms include: Windows. For more information, please contact the application author."
1 Commento
Cory
il 17 Ago 2023
It would be great to know this answer or if there is a way to check which parts of my code are incompatible.
Risposte (1)
Walter Roberson
il 17 Ago 2023
Modificato: Walter Roberson
il 17 Ago 2023
0 voti
Is there an option to compile from a windows machine for a linux environment?
I have seen claims that if you are willing to put in the work, you can install the Linux for Windows package and run the Linux version of MATLAB inside that, and configure that to use Linux toolchains.
This is not a supported environment, and apparently it is a bit frustrating to set up properly.
There is no option to use the Windows version of MATLAB to compile for Linux -- other than in the sense that these days you can use MATLAB Coder to target Raspberry Pi.
Categorie
Scopri di più su MATLAB Compiler SDK in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!