Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski 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
Jun 20, 2017
3
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