Azzera filtri
Azzera filtri

Matlab Function into Python

3 visualizzazioni (ultimi 30 giorni)
Zen Matychak
Zen Matychak il 25 Ago 2020
Risposto: Mohith Kulkarni il 28 Ago 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"

Risposte (1)

Mohith Kulkarni
Mohith Kulkarni il 28 Ago 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.

Community Treasure Hunt

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

Start Hunting!

Translated by