matlab live script support run Python language directly

34 visualizaciones (últimos 30 días)
cui,xingxing
cui,xingxing el 24 de Ag. de 2023
Editada: cui,xingxing el 27 de Abr. de 2024 a las 2:19
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.

Respuesta aceptada

cui,xingxing
cui,xingxing el 24 de Ag. de 2023
Editada: cui,xingxing el 27 de Abr. de 2024 a las 2:19
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

Más respuestas (1)

Cris LaPierre
Cris LaPierre el 24 de Ag. de 2023
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'

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by