Filter löschen
Filter löschen

Programming python with matlab

2 Ansichten (letzte 30 Tage)
monica lecue
monica lecue am 19 Jul. 2021
Kommentiert: monica lecue am 30 Jul. 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()

Akzeptierte Antwort

Shravan Kumar Vankaramoni
Shravan Kumar Vankaramoni am 30 Jul. 2021

Weitere Antworten (0)

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by