How to convert python scipt to matlab using any matlan converter or else

조회 수: 2 (최근 30일)
mohd akmal masud
mohd akmal masud 2025년 2월 5일
편집: John D'Errico 2025년 2월 5일
Deal All,
I have the python script for deep learning segmentation as attached.
Anyone can help me how to run in matlab, or convert it into matlab script or else

답변 (1개)

Steven Lord
Steven Lord 2025년 2월 5일
I would see if the "Call Python from MATLAB" section linked from this documentation page provides the functionality you need.
  댓글 수: 1
John D'Errico
John D'Errico 2025년 2월 5일
편집: John D'Errico 2025년 2월 5일
Yes. It will be far better and easier (and safer too) to call the Python script from MATLAB, thus executing it in Python, than to try to find an automatic conversion utility that will successfully convert the code into MATLAB code.
If that conversion is absolutely necessary, then you could try one of the conversational AI tools around, some of which claim to be good at coding. At the same time, my experience with those tools is they frequently give totally incorrect answers, total garbage, even while what they write seems to look good on the surface. (In my experience, they have about a 50% hit rate.) And that would mean you would need to very carefully check any such conversion yourself.

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

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by