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()
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!