Convert matlab code to Python.

17 vues (au cours des 30 derniers jours)
Mohammad Almekami
Mohammad Almekami le 13 Jan 2020
Commenté : Puma le 16 Avr 2024
I would like to ask if it possible to convert MATLAB code which has more than file.m and file.mat to Python version?
  1 commentaire
Puma
Puma le 16 Avr 2024
c=math.copysign(y, z)

Connectez-vous pour commenter.

Réponses (1)

Selva Karna
Selva Karna le 14 Jan 2020
Mohammad , MATLAB to Python :
Step 1: Develop your own MATLAB Code as MATLAB Function
Step 2: Enter the command on command window
command: deploytool
Step 3:
Select python package
Step 4:
Export your package
Link:
https://in.mathworks.com/help/compiler_sdk/gs/create-a-python-application-with-matlab-code.html

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by