Programming python with matlab

2 次查看(过去 30 天)
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()

采纳的回答

Shravan Kumar Vankaramoni

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by