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!

sap2000 and matlab

Status
Not open for further replies.

samcivil23

Structural
May 9, 2013
4
Hi,
I am using the following code to obtain the displacement

NumberResults = zeros (1,1, 'double');
Obj = {' '};
Elm = {' '};
LoadCase = {' '};
StepType = {' '};
StepNum = zeros(1,1,'double');
U1 =zeros(1,1,'double');

U2 =zeros(1,1,'double');

U3 = zeros(1,1,'double');

R1 = zeros(1,1,'double');

R2 = zeros(1,1,'double');

R3 = zeros(1,1,'double');

ObjectElm = 0;


for i=1:44
[ret,NumberResults, Obj, Elm, LoadCase, StepType, StepNum, U1, U2, U3, R1, R2, R3] = SapObject.Results.JointDispl(num2str(i), ObjectElm, NumberResults, Obj, Elm, LoadCase, StepType, StepNum, U1, U2, U3, R1, R2, R3)

end

and ,...

But when I run with this problem....

Warning: ActiveX - attempt to convert unsupported SAFEARRAY type

( sap2000v15 32bit, matlab 2012 32bit , windows 8.1 )
How can I solve this problem ...
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor