[MATLAB Compiler] I want to run a Python package created on Linux on Windows. I get an error when specifying the path to the folder.
Mostra commenti meno recenti
I want to read a file and process it in Matlab.
On Linux, the file is specified as follows.
filename = ['/home/test/file.csv'];
When we convert the file to a PythonPackage using Matlab Compiler on Ubuntu, and run Python on Ubuntu, it succeeds.
Modify the path so that it can be run on Windows as well.
filename = ['C:\test\file.csv'];
When using the Matlab Compiler after the modification, the following error is encountered.
The function or variable 'x' is not recognized.
How do I specify the path to a folder to make a PythonPackage on Linux and run it on Windows?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Get Started with 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!