Programming python with matlab

4 ビュー (過去 30 日間)
monica lecue
monica lecue 2021 年 7 月 19 日
コメント済み: monica lecue 2021 年 7 月 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
Shravan Kumar Vankaramoni 2021 年 7 月 30 日
  1 件のコメント
monica lecue
monica lecue 2021 年 7 月 30 日
Thanks you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by