Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

SAP2000 API using MATLAB // SapModel.DesignSteel.GetSummaryResults

Status
Not open for further replies.

ricbus

Civil/Environmental
Joined
Jun 20, 2017
Messages
3
Location
CL
hi!

Has anyone used the command SapModel.DesignSteel.GetSummaryResults ?

I'm running linear TH and after running the analysis and using the design tool (ret = SapModel.Analyze.RunAnalysis; ret = SapModel.DesignSteel.StartDesign;), everything works, but to set the output to obtain the data Matlab stops.
The code that does not work is this:

NumberItems = 0;
FrameName = cellstr(' ');
Ratio = zeros(1,1,'double');
RatioType = cellstr(' ');
Location = zeros(1,1,'double');
ComboName = cellstr(' ');
ErrorSummary = cellstr(' ');
WarningSummary = cellstr(' ');
[NumberItems, FrameName, Ratio, RatioType] = SapModel.DesignSteel.GetSummaryResults('Diago', NumberItems, FrameName, Ratio, RatioType, Location, ComboName, ErrorSummary, WarningSummary);

I would really appreciate any help.

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top