run python script with mcc compiled matlab

조회 수: 4 (최근 30일)
ido
ido 2024년 11월 19일
답변: Taylor 2024년 11월 22일
Hi,
I am trying to compile a matlab script that contains a python function (used with pyrunfile).
This code is running with no issues with a regular matlab run, but failed to run after compiling with mcc.
I added the python function path to the mcc, using -a, with no help.
The error that I got is
'MATLAB:Pyrunfile:FileNotFound'.
I printed the main function path using "ls". I see all matlab file names and folder names in this print, except the folder that contains the python function.
Any ideas?
  댓글 수: 1
Aravind
Aravind 2024년 11월 20일
Hi @ido,
Could you please share your MATLAB script and python file along with the directory structure and the exact mcc command you are running? This will help in identifying and debugging the issue.

댓글을 달려면 로그인하십시오.

답변 (1개)

Taylor
Taylor 2024년 11월 22일

카테고리

Help CenterFile Exchange에서 Python Package Integration에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by