vahid942
Civil/Environmental
- Dec 7, 2011
- 2
Hi, I am using MATLAB to control SAP2000 for analyzing some models. I am using the OAPI functions. I can successfully build a portal steel frame and analyze and design it. However, the following error is returned in MATLAB when I try to get the detailed results:
Error using
Interface.3341A583_7CEF_46DD_AF23_5E8D3128B32A/GetDetailResultsValue
Error: Not enough storage is available to complete this operation.
I am using the following code in MATLAB:
Name='f2';
ItemType=0;
Table=2;
Field='Pr';
NumberItems=0;
FrameName=cellstr('');
Value='';
[ret] = SapModel.DesignSteel. GetDetailResultsValue(Name, ItemType, Table,Field, NumberItems, FrameName, Value);
I have also tried Value=cellstr(''). In this case the error is as follows:
Error using
Interface.3341A583_7CEF_46DD_AF23_5E8D3128B32A/GetDetailResultsValue
Error: Type mismatch, argument 7
Please help me with this errors. How should I use the GetDetailResultsValue function?
Error using
Interface.3341A583_7CEF_46DD_AF23_5E8D3128B32A/GetDetailResultsValue
Error: Not enough storage is available to complete this operation.
I am using the following code in MATLAB:
Name='f2';
ItemType=0;
Table=2;
Field='Pr';
NumberItems=0;
FrameName=cellstr('');
Value='';
[ret] = SapModel.DesignSteel. GetDetailResultsValue(Name, ItemType, Table,Field, NumberItems, FrameName, Value);
I have also tried Value=cellstr(''). In this case the error is as follows:
Error using
Interface.3341A583_7CEF_46DD_AF23_5E8D3128B32A/GetDetailResultsValue
Error: Type mismatch, argument 7
Please help me with this errors. How should I use the GetDetailResultsValue function?