Borrar filtros
Borrar filtros

Matlab Function into Python

2 visualizaciones (últimos 30 días)
Zen Matychak
Zen Matychak el 25 de Ag. de 2020
Respondida: Mohith Kulkarni el 28 de Ag. de 2020
You can call a matlab function in python by putting eng.function, but how do you call a personal function you made in matlab such as "getCityNames"

Respuestas (1)

Mohith Kulkarni
Mohith Kulkarni el 28 de Ag. de 2020
You can call user scripts from python in the same way. You have to save the MATLAB script in the current folder and call it from python using "eng.scriptname". Refer to the following link.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by