[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.
이전 댓글 표시
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Get Started with MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!