참고 http://www.mathworks.com/matlabcentral/answers/14374

 

function [T1,T2,T3,T4]=TEST(........)
global alpha_b rho_b direction_b

persistent initialzed;


if isempty(initialze)
    initialze=1;
    zetam=atan2(z,x);

    rho_b=sqrt(xm^2+zm^2);
    alpha_b=pi;
    direction_b=0;
end

.

.

..

 

+ Recent posts