stk,MATLAB串口互联如何建立已有卫星的句柄

%%%%%%%%%%%%%%%%%%%%已经建立卫星场景并导入成功

progID = 'STK11.application';%stk版本号
con = actxserver(progID);%返回服务器的默认接口的句柄,创建进程内服务器
root = con.Personality2;
con.Visible = 0;%不打开stk
root.Load('D:\STK_Job\Try3\bigstar.sc');
bs = root.CurrentScenario;


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
wei2 = bs.Children.New(18,'wei2');   这个是上次建立的卫星

%%%%%%%%%%%%%%%%%%%现在想要把上次建立的wei2连接到句柄,如下:

wei2 = bs.Objects.wei2  这一步报错,不知道用什么函数;想要进行下面一行的操作必须给wei2句柄

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

wei2.SetPropagatorType('ePropagatorStkExternal');

 

uiapp=actxGetRunning……

root=uiapp.Person……

scenario=root.CurrentScenario

tmpsat=scenario.Children.GetElements('eSatellite').Item('satname')