Output array from Python called function
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I call a MATLAB function from my python script, where the output of the MATLAB function is a 6x801 matrix. When I call the function in python however, I only get the first column (6x1 vector) as my output in python.
Inside python I call:
eng.matlab.engine.start_matlab()
X_exact = eng.testplot(randalt,nargout=1)
Where testplot is the function being called, randalt is a float input parameter to the function.
2 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Call Python from MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!