[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.
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Get Started with MATLAB Compiler SDK 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!