필터 지우기
필터 지우기

matlab live script support run Python language directly

조회 수: 18 (최근 30일)
cui,xingxing
cui,xingxing 2023년 8월 24일
편집: cui,xingxing 2024년 4월 27일
Luckily Mathworks has started to focus on the interaction between MATLAB and python in the last few years, rather than comparing their strengths and weaknesses, e.g. the github open-source board "matlab+python" in order to support Python users, and the documentation has been updated a lot.
But what I would like to see is to use matlab live script(mlx file) to write python source code directly (code highlighting, smart completion hints, help files, etc.), which has the advantage of being able to debug and run through the python code in a unified MATLAB environment instead of debugging and running through the python code in some python IDE environment and then passing it through pyrun , pyrunfile and other functions indirectly called.

채택된 답변

cui,xingxing
cui,xingxing 2023년 8월 24일
편집: cui,xingxing 2024년 4월 27일
I now believe that the above "new feature" cannot be integrated into future versions of MATLAB because it does not follow the logic of the MATLAB design philosophy. If you can write/run python directly in mlx files, MATLAB can actually be used as a python IDE, and even then, if you change it to C/C++ and provide compiler paths, it will be a C/C++ IDE with a few frills, but for so many years, MATLAB has been an IDE only for itself.
-------------------------Off-topic interlude, 2024-------------------------------
I am currently looking for a job in the field of CV algorithm development, based in Shenzhen, Guangdong, China,or a remote support position. I would be very grateful if anyone is willing to offer me a job or make a recommendation. My preliminary resume can be found at: https://cuixing158.github.io/about/ . Thank you!
Email: cuixingxing150@gmail.com

추가 답변 (1개)

Cris LaPierre
Cris LaPierre 2023년 8월 24일
This is a community help forum. The best place to send suggestions to MathWorks is here:
  • Select 'Create Service Request'
  • Then select 'Technical Support: Installation, product help, bugs, suggestions, documentation errors, outages'

카테고리

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

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by