Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to set TimeHistory FromFile_1 by SAP-API and Matlab

Status
Not open for further replies.

kahloucheFF

Structural
Dec 6, 2014
3
pleaaaseeee help me if you can: I want to set a TimeHistory by using FromFile_1 with SAP2000 API and Matlab my code is:

ret= SapModel.Func.FuncTH.SetFromFile_1('accelero', 'C:\API\essai.txt', 0, 0, 1, 2, True());

and my essai.txt is
0 -1.65
0.005 -2.17
0.01 -2.17
0.015 -3.71
0.02 2.33

but it doesn't work, I get this: ??? Undefined function or variable 'True'. help pleeeeeeeeaaaaaaase!!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor