name - Name of new object 备注:创建场景时,语法为stkNewObj('Scenario',' ','Scenario1') 2.3.5 stkUnload 作用:卸载对象 用法:stkUnload('objPath') 说明:objPath - Valid path, may be obtained from stkObjNames. 2.3.6 stkUnloadChildren 作用:卸载对象的所有子对象 用法:stkUnloadChildren ('objPath') 说明:objPath - Valid path, may be obtained from stkObjNames. 2.3.7 stkRename 作用:将对象重命名 用法:stkRename('objPath', 'newName') 说明:objPath - Valid path, may be obtained from stkObjNames. newName - New instance name. 2.3.8 stkTimePeriod 作用:获取对象起止时间 用法:timePeriod = stkTimePeriod('dateFormat') timePeriod = stkTimePeriod('objPath', 'dateFormat') 说明: objPath - Valid vehicle object path, defaults to scenario path. timePeriod - Structure array with start and stop fields. Each field contains a string date value. dateFormat - Valid date format. Options are: EPOCHSEC EPOCHSECOND EPOCHMIN EPOCHMINUTE EPOCHHR EPOCHHOUR EPOCHDAY GMT ZULU GMTSYSTEM GREGLCL GREGORIANLOCAL GREGORIANLCL GREGUTC GREGORIANUTC GREGTAI GREGORIANTAI GREGTDT GREGORIANTDT GREGGPSTIME GREGGPS GREGORIANGPSTIME GPSTIME GPS JULDATE JULIANDATE JULLCL JULIANLOCAL JULIANLCL JULUTC JULIANUTC JUL4 JULIAN4 JULIAN4UTC 4 JDATEOFF JDATEOFFSET JULDATEOFFSET JULEPHEMDATE JULIANEPHEMERISDATE JULIANEPHEM JULTAI JULIANTAI MISELAP MISSIONELAPSED MODJULDATE MODIFIEDJULIANDATE YYDDD YYDDD.DDD YYYYDDD YYYYDDD.HHMMSS YYYYMMDD YYYYMMDD.DDD YYYY/MM/DDTIME YYYY/MM/DD 备注:更对内容参见stkConvertDate、stkObjNames 2.3.9 stkTimePeriodInSec 作用:获取对象起止时间,以s为单位 用法:[start, stop] = stkTimePeriodInSec(objPath) [start, stop] = stkTimePeriodInSec 说明:objPath - valid object path, see stkObjNames. When not provided, the scenario time period is returned. start, stop - time in seconds 2.3.10 stkValidObj 作用:检查对象的有效性 用法:result = stkValidObj('path') 说明:path - object path name result - 1 if valid, 0 otherwise 2.3.11 stkDescrip 作用:获取对象的描述 用法:description = stkDescrip('objPath', 'shortLong') 说明:objPath - Valid path, may be obtained from stkObjNames. shortLong - Type of description to get, 'short' or 'long'. 2.3.12 stkSetDescrip 作用:设置对象的描述 用法:stkSetDescrip('objPath', 'shortLong', 'description') 说明:objPath - Valid path, may be obtained from stkObjNames. shortLong - Type of description to set, 'short' or 'long'. description - Description text. 5 2.4 场景命令(Scenario Commands) 2.4.1 stkAnimTime 作用:返回当前动画时间 用法:time = stkAnimTime 说明:time - current STK animation time (sec) 2.4.2 stkEpoch 作用:返回当前场景历元 用法:epoch = stkEpoch('dateFormat') 说明:dateFormat - Valid date format. epoch - string representation of scenario epoch. 2.4.3 stkSetEpoch 作用:设置场景历元 用法:stkSetEpoch('epoch', 'dateFormat') 说明:dateFormat - Valid date format. epoch - string representation of scenario epoch. 2.4.4 stkSetEpochInSec 作用:设置场景历元 用法:stkSetEpochInSec(newEpoch) 说明:newEpoch - number of seconds elapsed between current epoch and the desired epoch. 2.4.5 stkSyncEpoch 作用:aeroToolbox与STK场景有同样的历元 用法:stkSyncEpoch 备注:STK and aeroToolbox maintain separate scenario epochs. This function should be called anytime the STK epoch is changed through mexConnect or via the STK GUI. 2.4.6 stkConvertDate 作用:转换日期格式 用法:newDate = stkConvertDate('date', 'format', 'newFormat') 2.4.7 stkSetTimePeriod 作用:设置场景或卫星的时间周期 用法:stkSetTimePeriod('start', 'stop', 'dateFormat') stkSetTimePeriod('satpath', 'start', 'stop', 'dateFormat') 说明:satpath - satellite path name, defaults to scenario start, stop - string dates 6 2.4.8 stkSetTimePeriodInSec 作用:设置场景的时间周期 用法:stkTimePeriodInSec(start, stop) 说明:start, stop - time in seconds 2.4.9 stkScenFilePath 作用:返回场景文件的路径 用法:path = stkScenFilePath 说明:path - current STK scenario directory 2.4.10 stkValidScen 作用:检查可用的场景 用法:result = stkValidScen 说明:result - 1 if valid, 0 otherwise 2.5 基本飞行器数据(Basic Vehicle Data) 2.5.1 stkTimePeriod 作用:获取对象的时间周期 用法:timePeriod = stkTimePeriod('dateFormat') timePeriod = stkTimePeriod('objPath', 'dateFormat') 说明:objPath - Valid vehicle object path, defaults to scenario path. timePeriod - Structure array with start and stop fields. Each field contains a string date value. 2.5.2 stkTimePeriodInSec 作用:获取对象的时间周期 用法:[start, stop] = stkTimePeriodInSec(objPath) [start, stop] = stkTimePeriodInSec 说明:objPath - valid object path, see stkObjNames. When not provided, the scenario time period is returned. start, stop - time in seconds 2.5.3 stkSetTimePeriod 作用:设置场景或对象的时间周期 用法:stkSetTimePeriod('start', 'stop', 'dateFormat') stkSetTimePeriod('satpath', 'start', 'stop', 'dateFormat') 说明:satpath - satellite path name, defaults to scenario start, stop - string dates 7 2.6 卫星运动属性(Satellite Propagators) 2.6.1 stkSetPropCart 作用:设置笛卡尔坐标系下卫星运动的参数 用法:stkSetPropCart('objPath', 'propagator', 'coordSystem', ... tStart, tStop, dt, orbitEpoch, pos, vel, coordEpoch) 说明:objPath - Valid path, may be obtained from stkObjNames. propagator - 'TwoBody', 'J2Perturbation', 'J4Perturbation', 'HPOP' or 'PODS' This parameter is case sensitive! coordSystem - string name of coordinate system, valid choices are: 'Fixed', 'J2000', 'MeanOfDate', 'MeanOfEpoch', 'TrueOfDate', 'TrueOfEpoch', 'B1950', 'TEMEOfDate', 'TEMEOfEpoch', 'AlignmentAtEpoch'. This parameter is case sensitive! tStart, tStop - times in epoch seconds. dt - time step in seconds. orbitEpoch - reference time of orbit data, in scenario epoch seconds pos - 3x1 vector of positions at reference time, meters vel - 3x1 vector of velocity at reference time, meters/sec coordEpoch - coordinate system epoch, required by all '...OfEpoch' coordinate systems. 2.6.2 stkSetPropClassical 作用:设置经典轨道根数描述下卫星运动的参数 用法:stkSetPropClassical('objPath', 'propagator', 'coordSystem', ... tStart, tStop, dt, orbitEpoch, semimajorAxis, eccentricity,... inclination, argOfPerigree, RAAN, meanAnomaly, coordEpoch) 说明:objPath - Valid path, may be obtained from stkObjNames. propagator - 'TwoBody', 'J2Perturbation', 'J4Perturbation', 'HPOP' or 'PODS' This parameter is case sensitive! coordSystem - string name of coordinate system, valid choices are: 'Fixed', 'J2000', 'MeanOfDate', 'MeanOfEpoch', 'TrueOfDate', 'TrueOfEpoch', 'B1950', 'TEMEOfDate', 'TEMEOfEpoch', 'AlignmentAtEpoch'. This parameter is case sensitive! tStart, tStop - times in epoch seconds. dt - time step in seconds. orbitEpoch - reference time of orbit data, in scenario epoch seconds coordEpoch - coordinate system epoch, required by all '...OfEpoch' coordinate systems. semimajorAxis - units in meters eccentricity - unitless inclination - units in radians 8
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库Matlab与STK连接函数库(最新整理)(3)在线全文阅读。
相关推荐: