Converting Python code to Matlab

Hi,
I have functioning python code, but I would like to convert that to matlab code. By converting I mean being able to run it in an environment where there is no python installed. Any advice how I should proceed?
Thanx in advance

回答(1 个)

Steven Lord
Steven Lord 2018-2-16

0 个投票

Do you need to convert your Python code to MATLAB code or would running your Python code in MATLAB be sufficient? If the latter and you're using release R2014b or later, review this section of the documentation (or the equivalent in the documentation included in your installation since I'm not sure how much this functionality has changed in the past few years since it was introduced.)

1 个评论

This is something I have been looking into, but since it needs Python installed it isn't optimal solution to my problem. I am looking into actually converting code to matlab and run it with out installing python.

请先登录,再进行评论。

类别

帮助中心File 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