Matlab Function into Python

4 Ansichten (letzte 30 Tage)
Zen Matychak
Zen Matychak am 25 Aug. 2020
Beantwortet: Mohith Kulkarni am 28 Aug. 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"

Antworten (1)

Mohith Kulkarni
Mohith Kulkarni am 28 Aug. 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.

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by