Programming python with matlab
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
monica lecue
il 19 Lug 2021
Commentato: monica lecue
il 30 Lug 2021
I try to write this code (python) in matlab but It's not working :
odb=openOdb(path='4.odb')
odb=session.odbs['C:\Users\mlecue\OneDrive-GrupoArania\mlecue\desktop\Puntal_seccion\Basededatos\ProgramaMatlab/4.odb']
xy_resul=session.XYDataFromHistory(name='LoadFactor',odb=odb,outputVariableName='Load proportionality factor: LPF for Whole Model',steps=('Step-1',))
session.writeXYReport(fileName='C:/Users\mlecue\OneDrive - Grupo Arania\mlecue\desktop\Puntal_seccion\Base de datos\Programa Matlab/4.txt',xyData=(x0,)
x0=session.xyDataObjects['LoadFactor']
session.odbs['C:\Users\mlecue\OneDrive - Grupo Arania\mlecue\desktop\Puntal_seccion\Base de datos\Programa Matlab/4.odb'].close()
0 Commenti
Risposta accettata
Più 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!