From dcf768bb319e2dfa695f433b95049f3d7d63887a Mon Sep 17 00:00:00 2001 From: Pouyan Azari Date: Thu, 3 Dec 2015 23:28:35 +0100 Subject: [PATCH] The methods renewed more order implemented also the magnetic field. --- OrekitJava/.classpath | 2 +- .../.settings/org.eclipse.jdt.core.prefs | 6 +- OrekitJava/pathdef.m | 721 ++++++++++++++++++ .../orekit/matlab/MagenticFieldTest.java | 106 ++- .../de/netsat/orekit/matlab/Maneuvers.java | 2 +- .../orekit/matlab/MatlabPushHandler.java | 260 +++++++ .../setNumericalPropagatorSettings.m | 4 +- Report/Report_3_12_15.md | 12 + 8 files changed, 1097 insertions(+), 16 deletions(-) create mode 100644 OrekitJava/pathdef.m create mode 100644 OrekitJava/test/de/netsat/orekit/matlab/MatlabPushHandler.java create mode 100644 Report/Report_3_12_15.md diff --git a/OrekitJava/.classpath b/OrekitJava/.classpath index a11a368..154058a 100755 --- a/OrekitJava/.classpath +++ b/OrekitJava/.classpath @@ -8,7 +8,7 @@ - + diff --git a/OrekitJava/.settings/org.eclipse.jdt.core.prefs b/OrekitJava/.settings/org.eclipse.jdt.core.prefs index bb35fa0..838bd9d 100755 --- a/OrekitJava/.settings/org.eclipse.jdt.core.prefs +++ b/OrekitJava/.settings/org.eclipse.jdt.core.prefs @@ -1,11 +1,11 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.compliance=1.7 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/OrekitJava/pathdef.m b/OrekitJava/pathdef.m new file mode 100644 index 0000000..8370eaa --- /dev/null +++ b/OrekitJava/pathdef.m @@ -0,0 +1,721 @@ +function p = pathdef +%PATHDEF Search path defaults. +% PATHDEF returns a string that can be used as input to MATLABPATH +% in order to set the path. + + +% Copyright 1984-2007 The MathWorks, Inc. + + +% DO NOT MODIFY THIS FILE. IT IS AN AUTOGENERATED FILE. +% EDITING MAY CAUSE THE FILE TO BECOME UNREADABLE TO +% THE PATHTOOL AND THE INSTALLER. + +p = [... +%%% BEGIN ENTRIES %%% + '/home/pouyan/Projects/Java/Hippo/OrekitMatlab/lib:', ... + '/home/pouyan/Projects/Java/Hippo/OrekitMatlab/definitions:', ... + '/home/pouyan/Projects/Java/Hippo/OrekitMatlab/ISS Tracker/lib:', ... + '/home/pouyan/Projects/Java/Hippo/OrekitMatlab/scripts:', ... + matlabroot,'/toolbox/matlab/datamanager:', ... + matlabroot,'/toolbox/matlab/images:', ... + matlabroot,'/toolbox/matlab/datafun:', ... + matlabroot,'/toolbox/matlab/elmat:', ... + matlabroot,'/toolbox/matlab/testframework/parallel:', ... + matlabroot,'/toolbox/matlab/hardware/stubs:', ... + matlabroot,'/toolbox/matlab/timefun:', ... + matlabroot,'/toolbox/matlab/mapreduceio:', ... + matlabroot,'/toolbox/matlab/sparfun:', ... + matlabroot,'/toolbox/matlab/ops:', ... + matlabroot,'/toolbox/matlab/graph2d:', ... + matlabroot,'/toolbox/matlab/graph3d:', ... + matlabroot,'/toolbox/matlab/graphics:', ... + matlabroot,'/toolbox/matlab/graphics/obsolete:', ... + matlabroot,'/toolbox/matlab/plottools:', ... + matlabroot,'/toolbox/matlab/scribe:', ... + matlabroot,'/toolbox/matlab/scribe/obsolete:', ... + matlabroot,'/toolbox/matlab/specgraph:', ... + matlabroot,'/toolbox/matlab/uitools:', ... + matlabroot,'/toolbox/matlab/uitools/obsolete:', ... + matlabroot,'/toolbox/matlab/lang:', ... + matlabroot,'/toolbox/matlab/optimfun:', ... + matlabroot,'/toolbox/matlab/datatypes:', ... + matlabroot,'/toolbox/matlab/verctrl:', ... + matlabroot,'/toolbox/matlab/funfun:', ... + matlabroot,'/toolbox/matlab/icons:', ... + matlabroot,'/toolbox/matlab/helptools:', ... + matlabroot,'/toolbox/matlab/polyfun:', ... + matlabroot,'/toolbox/matlab/guide:', ... + matlabroot,'/toolbox/matlab/general:', ... + matlabroot,'/toolbox/local:', ... + matlabroot,'/toolbox/matlab/matfun:', ... + matlabroot,'/toolbox/matlab/depfun:', ... + matlabroot,'/toolbox/matlab/specfun:', ... + matlabroot,'/toolbox/matlab/datastoreio:', ... + matlabroot,'/toolbox/matlab/codetools:', ... + matlabroot,'/toolbox/matlab/randfun:', ... + matlabroot,'/toolbox/matlab/demos:', ... + matlabroot,'/toolbox/matlab/testframework:', ... + matlabroot,'/toolbox/matlab/strfun:', ... + matlabroot,'/toolbox/matlab/iofun:', ... + matlabroot,'/toolbox/matlab/addons:', ... + matlabroot,'/toolbox/matlab/addons/cef:', ... + matlabroot,'/toolbox/matlab/addons/fallbackmanager:', ... + matlabroot,'/toolbox/matlab/elfun:', ... + matlabroot,'/toolbox/simulink/simulink/frameedit:', ... + matlabroot,'/toolbox/shared/dastudio/depviewer:', ... + matlabroot,'/toolbox/simulink/blocks:', ... + matlabroot,'/toolbox/simulink/simulink/dataclasses:', ... + matlabroot,'/toolbox/simulink/simulink:', ... + matlabroot,'/toolbox/simulink/simulink/MPlayIO:', ... + matlabroot,'/toolbox/simulink/simulink/dataobjectwizard:', ... + matlabroot,'/toolbox/simulink/simulink/slresolve:', ... + matlabroot,'/toolbox/simulink/simulink/modeladvisor:', ... + matlabroot,'/toolbox/simulink/simulink/modeladvisor/fixpt:', ... + matlabroot,'/toolbox/simulink/simdemos/aerospace:', ... + matlabroot,'/toolbox/simulink/components:', ... + matlabroot,'/toolbox/simulink/dee:', ... + matlabroot,'/toolbox/simulink/hmi:', ... + matlabroot,'/toolbox/simulink/simdemos/automotive/fuelsys:', ... + matlabroot,'/toolbox/simulink/sysarch/sysarch:', ... + matlabroot,'/toolbox/rtw/targets/AUTOSAR/AUTOSAR/dataclasses:', ... + matlabroot,'/toolbox/rtw/targets/AUTOSAR/AUTOSAR:', ... + matlabroot,'/toolbox/rtw/accel:', ... + matlabroot,'/toolbox/coder/simulinkcoder_core:', ... + matlabroot,'/toolbox/simulink/simdemos/automotive:', ... + matlabroot,'/toolbox/simulink/simdemos/automotive/powerwindow:', ... + matlabroot,'/toolbox/simulink/simdemos/industrial:', ... + matlabroot,'/toolbox/coder/advisor:', ... + matlabroot,'/toolbox/simulink/simdemos/dataclasses:', ... + matlabroot,'/toolbox/simulink/simdemos:', ... + matlabroot,'/toolbox/rtw/targets/asap2/asap2/dataclasses:', ... + matlabroot,'/toolbox/rtw/targets/asap2/asap2:', ... + matlabroot,'/toolbox/rtw/targets/asap2/asap2/user:', ... + matlabroot,'/toolbox/rtw/targets/common/can/blocks/dataclasses:', ... + matlabroot,'/toolbox/rtw/targets/common/can/blocks:', ... + matlabroot,'/toolbox/rtw/targets/common/can/blocks/tlc_c:', ... + matlabroot,'/toolbox/rtw/targets/common/tgtcommon:', ... + matlabroot,'/toolbox/coder/simulinkcoder/cgv/API:', ... + matlabroot,'/toolbox/rtw/rtw/misra:', ... + matlabroot,'/toolbox/coder/simulinkcoder:', ... + matlabroot,'/toolbox/coder/simulinkcoder/templates:', ... + matlabroot,'/toolbox/coder/simulinkcoder/targets:', ... + matlabroot,'/toolbox/rtw/targets/pil:', ... + matlabroot,'/toolbox/simulink/simdemos/simfeatures:', ... + matlabroot,'/toolbox/simulink/simdemos/simfeatures/modelreference:', ... + matlabroot,'/toolbox/simulink/simdemos/simfeatures/datadictionary:', ... + matlabroot,'/toolbox/simulink/simulink/core_templates:', ... + matlabroot,'/toolbox/coder/objectives:', ... + matlabroot,'/toolbox/simulink/simdemos/simgeneral:', ... + matlabroot,'/toolbox/simulink/blocks/library:', ... + matlabroot,'/toolbox/simulink/blocks/library/simulinkcoder:', ... + matlabroot,'/toolbox/simulink/blocks/obsolete:', ... + matlabroot,'/toolbox/simulink/sdi:', ... + matlabroot,'/toolbox/rtw/rtwdemos:', ... + matlabroot,'/toolbox/rtw/rtwdemos/rsimdemos:', ... + matlabroot,'/toolbox/stateflow/sfdemos:', ... + matlabroot,'/toolbox/stateflow/sftemplates:', ... + matlabroot,'/toolbox/stateflow/stateflow:', ... + matlabroot,'/toolbox/stateflow/coder:', ... + matlabroot,'/toolbox/comm/templates:', ... + matlabroot,'/toolbox/simulink/fixedandfloat:', ... + matlabroot,'/toolbox/simulink/fixedandfloat/obsolete:', ... + matlabroot,'/toolbox/shared/rflib:', ... + matlabroot,'/toolbox/symbolic/symbolic:', ... + matlabroot,'/toolbox/shared/simulation_data_repository:', ... + matlabroot,'/toolbox/shared/eda/fil:', ... + matlabroot,'/toolbox/shared/eda/fil/filmapi:', ... + matlabroot,'/toolbox/shared/cgir_fe:', ... + matlabroot,'/toolbox/matlab/external/interfaces/webservices/restful:', ... + matlabroot,'/toolbox/matlab/external/interfaces:', ... + matlabroot,'/toolbox/matlab/external/interfaces/webservices:', ... + matlabroot,'/toolbox/physmod/common/dataservices/core/m:', ... + matlabroot,'/toolbox/shared/polyspace:', ... + matlabroot,'/toolbox/shared/mapgeodesy:', ... + matlabroot,'/toolbox/physmod/pm_visimpl/pm_visimpl:', ... + matlabroot,'/toolbox/images/imdemos:', ... + matlabroot,'/help/toolbox/vision/examples:', ... + matlabroot,'/toolbox/simulink/simulink/slproject:', ... + matlabroot,'/toolbox/target/extensions/processor/intelhost/tfl:', ... + matlabroot,'/toolbox/stats/statsdemos:', ... + matlabroot,'/toolbox/shared/hdlshared:', ... + matlabroot,'/toolbox/matlab/audiovideo:', ... + matlabroot,'/toolbox/shared/eda/hdlparser:', ... + matlabroot,'/toolbox/physmod/common/dataservices/mli/m:', ... + matlabroot,'/toolbox/simulink/simulink/iodata/iomap:', ... + matlabroot,'/toolbox/target/extensions/operatingsystem/windows/blks:', ... + matlabroot,'/toolbox/target/extensions/operatingsystem/windows/blks/masks:', ... + matlabroot,'/toolbox/target/extensions/operatingsystem/windows/blks/mex:', ... + matlabroot,'/toolbox/distcomp:', ... + matlabroot,'/toolbox/distcomp/distcomp:', ... + matlabroot,'/toolbox/distcomp/user:', ... + matlabroot,'/toolbox/distcomp/mpi:', ... + matlabroot,'/toolbox/distcomp/parallel:', ... + matlabroot,'/toolbox/distcomp/parallel/util:', ... + matlabroot,'/toolbox/distcomp/lang:', ... + matlabroot,'/toolbox/distcomp/cluster:', ... + matlabroot,'/toolbox/distcomp/gpu:', ... + matlabroot,'/toolbox/distcomp/array:', ... + matlabroot,'/toolbox/physmod/simscape/templates:', ... + matlabroot,'/toolbox/idelink/extensions/eclipseide:', ... + matlabroot,'/toolbox/idelink/extensions/eclipseide/mdlinfo:', ... + matlabroot,'/toolbox/idelink/extensions/eclipseide/registry:', ... + matlabroot,'/toolbox/idelink/extensions/eclipseide/tfl:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs/ccsblks:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs/ccslinkblks:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs/ccslinkblks/rtdxsimblks:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs/mdlinfo:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs/tfl:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs/util:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs/rtw:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs/envChecker:', ... + matlabroot,'/toolbox/idelink/foundation/pjtgenerator:', ... + matlabroot,'/toolbox/idelink/foundation/pjtgenerator/rtw:', ... + matlabroot,'/toolbox/idelink/foundation/pjtgenerator/tgtpref2:', ... + matlabroot,'/toolbox/idelink/foundation/pjtgenerator/profiler:', ... + matlabroot,'/toolbox/idelink/foundation/pjtgenerator/mdlinfo:', ... + matlabroot,'/toolbox/idelink/foundation/pjtgenerator/blks:', ... + matlabroot,'/toolbox/idelink/foundation/pjtgenerator/blks/masks:', ... + matlabroot,'/toolbox/idelink/foundation/pjtgenerator/blks/tlc_c:', ... + matlabroot,'/toolbox/simulink/blocks/sb2sl:', ... + matlabroot,'/toolbox/matlab/toolstrip:', ... + matlabroot,'/toolbox/finance/findemos:', ... + matlabroot,'/toolbox/physmod/sm/sli/m:', ... + matlabroot,'/toolbox/simulink/simulink/slproject/examples:', ... + matlabroot,'/toolbox/simulink/simulink/performance:', ... + matlabroot,'/toolbox/simulink/simulink/performance/performancea:', ... + matlabroot,'/toolbox/matlab/external/engines/python:', ... + matlabroot,'/toolbox/shared/curvefitlib:', ... + matlabroot,'/toolbox/simulink/sta/repository:', ... + matlabroot,'/toolbox/simulink/sta/repository/util:', ... + matlabroot,'/toolbox/physmod/common/units/mli/m:', ... + matlabroot,'/toolbox/shared/configset:', ... + matlabroot,'/toolbox/database/database:', ... + matlabroot,'/toolbox/database/vqb:', ... + matlabroot,'/toolbox/physmod/common/dataservices/sli/m:', ... + matlabroot,'/toolbox/images/colorspaces:', ... + matlabroot,'/toolbox/images/images:', ... + matlabroot,'/toolbox/images/imdata:', ... + matlabroot,'/toolbox/images/imuitools:', ... + matlabroot,'/toolbox/images/iptformats:', ... + matlabroot,'/toolbox/images/iptutils:', ... + matlabroot,'/toolbox/comm/comm:', ... + matlabroot,'/toolbox/comm/commutilities/comminit:', ... + matlabroot,'/toolbox/comm/commutilities/commmex:', ... + matlabroot,'/toolbox/comm/commutilities:', ... + matlabroot,'/toolbox/comm/commdeprecated:', ... + matlabroot,'/toolbox/comm/comm/compiled:', ... + matlabroot,'/help/toolbox/slcontrol/examples:', ... + matlabroot,'/toolbox/pde/pdedemos:', ... + matlabroot,'/toolbox/compiler_sdk/java:', ... + matlabroot,'/toolbox/aero/aero:', ... + matlabroot,'/toolbox/instrument/instrumentdemos:', ... + matlabroot,'/toolbox/vision/visiondemos:', ... + matlabroot,'/toolbox/mpc/mpcdemos:', ... + matlabroot,'/toolbox/physmod/powersys/powerdemo/simple:', ... + matlabroot,'/toolbox/shared/statslib:', ... + matlabroot,'/toolbox/shared/statslib/sensitivity:', ... + matlabroot,'/toolbox/shared/sl_messages:', ... + matlabroot,'/toolbox/physmod/sm/core/m:', ... + matlabroot,'/toolbox/shared/testmeaslib/general:', ... + matlabroot,'/toolbox/shared/imageslib:', ... + matlabroot,'/toolbox/shared/eda/fpgaautomation:', ... + matlabroot,'/toolbox/shared/eda/fpgaautomation/obsolete:', ... + matlabroot,'/toolbox/shared/imaqlib:', ... + matlabroot,'/toolbox/globaloptim/globaloptimdemos:', ... + matlabroot,'/toolbox/finance/finance:', ... + matlabroot,'/toolbox/finance/calendar:', ... + matlabroot,'/toolbox/finance/finsupport:', ... + matlabroot,'/toolbox/finance/ftseries:', ... + matlabroot,'/toolbox/simulink/fixedandfloat/fxpdemos:', ... + matlabroot,'/toolbox/map/map:', ... + matlabroot,'/toolbox/map/mapgeodesy:', ... + matlabroot,'/toolbox/map/mapdisp:', ... + matlabroot,'/toolbox/map/mapformats:', ... + matlabroot,'/toolbox/map/mapproj:', ... + matlabroot,'/toolbox/map/mapdata:', ... + matlabroot,'/toolbox/map/mapdata/sdts:', ... + matlabroot,'/toolbox/comm/commdemos:', ... + matlabroot,'/toolbox/shared/system/preferences:', ... + matlabroot,'/help/toolbox/lte/examples:', ... + matlabroot,'/toolbox/optim/optimdemos:', ... + matlabroot,'/toolbox/shared/spcuilib:', ... + matlabroot,'/toolbox/physmod/pe/pedemos:', ... + matlabroot,'/toolbox/physmod/common/foundation/mli/m:', ... + matlabroot,'/toolbox/physmod/sh/shdemos:', ... + matlabroot,'/toolbox/shared/testmeaslib/graphics:', ... + matlabroot,'/toolbox/simulink/simulink/upgradeadvisor:', ... + matlabroot,'/toolbox/shared/system/simulink:', ... + matlabroot,'/toolbox/robust/rctdemos:', ... + matlabroot,'/toolbox/simulink/sta/report:', ... + matlabroot,'/toolbox/compiler/java:', ... + matlabroot,'/toolbox/physmod/simscape/foundation/simscape:', ... + matlabroot,'/toolbox/shared/maputils:', ... + matlabroot,'/toolbox/target/extensions/processor/tic2000:', ... + matlabroot,'/toolbox/target/extensions/processor/tic2000/rtw:', ... + matlabroot,'/toolbox/target/extensions/processor/tic2000/utils:', ... + matlabroot,'/toolbox/shared/testmeaslib/simulink:', ... + matlabroot,'/toolbox/mpc/mpc:', ... + matlabroot,'/toolbox/mpc/mpcguis:', ... + matlabroot,'/toolbox/mpc/mpcobsolete:', ... + matlabroot,'/toolbox/mpc/mpcutils:', ... + matlabroot,'/toolbox/matlab/configtools:', ... + matlabroot,'/toolbox/simevents/simevents:', ... + matlabroot,'/toolbox/simevents/simevents/icons:', ... + matlabroot,'/toolbox/simevents/examples:', ... + matlabroot,'/toolbox/physmod/powersys/templates:', ... + matlabroot,'/toolbox/physmod/powersys/drives/drivesdemo:', ... + matlabroot,'/toolbox/matlab/imagesci:', ... + matlabroot,'/toolbox/database/dbdemos:', ... + matlabroot,'/toolbox/physmod/mech/mechdemos:', ... + matlabroot,'/toolbox/vision/vision:', ... + matlabroot,'/toolbox/vision/visiondata:', ... + matlabroot,'/toolbox/vision/visionutilities:', ... + matlabroot,'/toolbox/vision/visionutilities/visioninit:', ... + matlabroot,'/toolbox/vision/visionutilities/visionmex:', ... + matlabroot,'/toolbox/eml/eml:', ... + matlabroot,'/toolbox/physmod/common/dataservices/gui/m:', ... + matlabroot,'/toolbox/physmod/ne_sli/ne_sli:', ... + matlabroot,'/toolbox/compiler_sdk:', ... + matlabroot,'/toolbox/bioinfo/bioinfo:', ... + matlabroot,'/toolbox/bioinfo/biolearning:', ... + matlabroot,'/toolbox/bioinfo/microarray:', ... + matlabroot,'/toolbox/bioinfo/mass_spec:', ... + matlabroot,'/toolbox/bioinfo/proteins:', ... + matlabroot,'/toolbox/bioinfo/biomatrices:', ... + matlabroot,'/toolbox/bioinfo/graphtheory:', ... + matlabroot,'/help/toolbox/comm/examples:', ... + matlabroot,'/toolbox/physmod/sdl/sdldemos:', ... + matlabroot,'/toolbox/shared/hwconnectinstaller:', ... + matlabroot,'/toolbox/distcomp/pctdemos:', ... + matlabroot,'/toolbox/rtw/targets/ecoder:', ... + matlabroot,'/toolbox/rtw/targets/mpt:', ... + matlabroot,'/toolbox/rtw/targets/mpt/mpt:', ... + matlabroot,'/toolbox/rtw/targets/mpt/user_specific:', ... + matlabroot,'/toolbox/coder/embeddedcoder:', ... + matlabroot,'/toolbox/physmod/powersys/powerdemo/machines:', ... + matlabroot,'/toolbox/optim/optim:', ... + matlabroot,'/toolbox/optim:', ... + matlabroot,'/toolbox/shared/codeinstrum/codeinstrum:', ... + matlabroot,'/toolbox/physmod/simscape/simscapedemos:', ... + matlabroot,'/toolbox/aero/astdemos:', ... + matlabroot,'/toolbox/rtw/rtw:', ... + matlabroot,'/toolbox/coder/foundation:', ... + matlabroot,'/toolbox/coder/foundation/build:', ... + matlabroot,'/toolbox/coder/foundation/build/tools/registry:', ... + matlabroot,'/toolbox/coder/foundation/tfl:', ... + matlabroot,'/toolbox/coder/foundation/tfl/AUTOSAR/AUTOSAR4p0/IFX:', ... + matlabroot,'/toolbox/coder/foundation/tfl/AUTOSAR/AUTOSAR4p0/IFL:', ... + matlabroot,'/toolbox/coder/foundation/tfl/gui:', ... + matlabroot,'/toolbox/coder/foundation/templates:', ... + matlabroot,'/toolbox/shared/simtargets:', ... + matlabroot,'/toolbox/shared/mlreportgen/dom:', ... + matlabroot,'/toolbox/shared/mlreportgen/dom/dom:', ... + matlabroot,'/toolbox/shared/mlreportgen/dom/dom/help:', ... + matlabroot,'/toolbox/physmod/common/gl/sli/m:', ... + matlabroot,'/toolbox/shared/dastudio:', ... + matlabroot,'/toolbox/shared/controllib/general:', ... + matlabroot,'/toolbox/physmod/equation_language/equation_language:', ... + matlabroot,'/toolbox/matlab/webcam:', ... + matlabroot,'/toolbox/fixedpoint/fidemos:', ... + matlabroot,'/toolbox/matlab/addons_zip:', ... + matlabroot,'/help/toolbox/dsp/examples:', ... + matlabroot,'/toolbox/shared/slci/slci:', ... + matlabroot,'/toolbox/physmod/mech/mech:', ... + matlabroot,'/toolbox/physmod/mech/importer:', ... + matlabroot,'/toolbox/physmod/sm/foundation/mech:', ... + matlabroot,'/toolbox/target:', ... + matlabroot,'/toolbox/target/foundation:', ... + matlabroot,'/toolbox/target/foundation/utils:', ... + matlabroot,'/toolbox/target/foundation/utils/resource_config:', ... + matlabroot,'/toolbox/target/foundation/blks:', ... + matlabroot,'/toolbox/target/foundation/blks/mex:', ... + matlabroot,'/toolbox/target/foundation/blks/masks:', ... + matlabroot,'/toolbox/target/extensions/processor/shared:', ... + matlabroot,'/toolbox/target/extensions/processor/shared/ti:', ... + matlabroot,'/toolbox/target/extensions/processor/shared/ti/mdlinfo:', ... + matlabroot,'/toolbox/target/extensions/processor/shared/ti/utils:', ... + matlabroot,'/toolbox/target/extensions/processor/shared/ti/blks:', ... + matlabroot,'/toolbox/target/extensions/processor/shared/ti/blks/mex:', ... + matlabroot,'/toolbox/target/extensions/processor/shared/ti/blks/masks:', ... + matlabroot,'/toolbox/shared/etargets/etargets:', ... + matlabroot,'/toolbox/shared/etargets/etargets/demoutils:', ... + matlabroot,'/toolbox/shared/system/coder:', ... + matlabroot,'/toolbox/shared/sigbldr:', ... + matlabroot,'/toolbox/shared/controllib/engine:', ... + matlabroot,'/toolbox/shared/controllib/engine/numerics:', ... + matlabroot,'/toolbox/shared/controllib/engine/options:', ... + matlabroot,'/toolbox/shared/controllib/engine/optim:', ... + matlabroot,'/toolbox/shared/controllib/engine/blocks:', ... + matlabroot,'/toolbox/coder/emlcodermex:', ... + matlabroot,'/toolbox/map/mapdemos:', ... + matlabroot,'/toolbox/coder/rtiostream:', ... + matlabroot,'/toolbox/shared/filterdesignlib:', ... + matlabroot,'/toolbox/coder/connectivity:', ... + matlabroot,'/toolbox/rtw/targets/connectivity:', ... + matlabroot,'/help/toolbox/control/examples:', ... + matlabroot,'/toolbox/imaq/imaqdemos:', ... + matlabroot,'/toolbox/sldv/sldv:', ... + matlabroot,'/toolbox/wavelet/wavedemo:', ... + matlabroot,'/toolbox/lte/lteexamples:', ... + matlabroot,'/toolbox/physmod/powersys/powersys:', ... + matlabroot,'/toolbox/physmod/powersys/drives/drives:', ... + matlabroot,'/toolbox/physmod/powersys/facts/facts:', ... + matlabroot,'/toolbox/physmod/powersys/DR/DR:', ... + matlabroot,'/toolbox/physmod/powersys/library:', ... + matlabroot,'/toolbox/lte/umts:', ... + matlabroot,'/toolbox/javabuilder/javabuilder:', ... + matlabroot,'/toolbox/shared/instrument:', ... + matlabroot,'/toolbox/javabuilder/javabuilderdemos:', ... + matlabroot,'/toolbox/signal/sigdemos:', ... + matlabroot,'/toolbox/shared/controllib/graphics:', ... + matlabroot,'/toolbox/shared/controllib/graphics/utils:', ... + matlabroot,'/toolbox/shared/controllib/graphics/plotoptions:', ... + matlabroot,'/toolbox/physmod/common/gl/mli/m:', ... + matlabroot,'/toolbox/robotics/robotics:', ... + matlabroot,'/toolbox/robotics/ros:', ... + matlabroot,'/toolbox/robotics/robotalgs:', ... + matlabroot,'/toolbox/robotics/robotcore:', ... + matlabroot,'/toolbox/robotics/robotsimulink:', ... + matlabroot,'/toolbox/robotics/robotsimulink/robotslros:', ... + matlabroot,'/toolbox/robotics/robotsimulink/robotslros/registry:', ... + matlabroot,'/toolbox/idelink/foundation:', ... + matlabroot,'/toolbox/idelink/foundation/util:', ... + matlabroot,'/toolbox/idelink/foundation/errorhandler:', ... + matlabroot,'/toolbox/idelink/foundation/xmakefile:', ... + matlabroot,'/toolbox/idelink/foundation/hookpoints:', ... + matlabroot,'/toolbox/target/targetdemos:', ... + matlabroot,'/toolbox/physmod/sm/import/m:', ... + matlabroot,'/toolbox/slcontrol/slcontrol:', ... + matlabroot,'/toolbox/slcontrol/slctrlguis:', ... + matlabroot,'/toolbox/slcontrol/slctrlutil:', ... + matlabroot,'/toolbox/slcontrol/slctrlobsolete:', ... + matlabroot,'/toolbox/ident/ident:', ... + matlabroot,'/toolbox/ident/nlident:', ... + matlabroot,'/toolbox/ident/idobsolete:', ... + matlabroot,'/toolbox/ident/idguis:', ... + matlabroot,'/toolbox/ident/idutils:', ... + matlabroot,'/toolbox/ident/idhelp:', ... + matlabroot,'/toolbox/physmod/powersys/powerdemo:', ... + matlabroot,'/toolbox/physmod/powersys/powerdemo/meascontrol:', ... + matlabroot,'/toolbox/physmod/powersys/powerdemo/power_utility:', ... + matlabroot,'/toolbox/shared/sldv_sfcn/sldv_sfcn:', ... + matlabroot,'/toolbox/physmod/simscape/compiler/sli/m:', ... + matlabroot,'/toolbox/physmod/elec/elecdemos:', ... + matlabroot,'/toolbox/dsp/filterdesign:', ... + matlabroot,'/toolbox/dsp/dsp:', ... + matlabroot,'/toolbox/dsp/dsputilities:', ... + matlabroot,'/toolbox/dsp/dsputilities/dspinit:', ... + matlabroot,'/toolbox/dsp/dsputilities/dspmex:', ... + matlabroot,'/toolbox/dsp/dsp/compiled:', ... + matlabroot,'/toolbox/fixedpoint/fixedpoint:', ... + matlabroot,'/toolbox/compiler:', ... + matlabroot,'/toolbox/stats/mlearnapp:', ... + matlabroot,'/toolbox/physmod/common/data/mli/m:', ... + matlabroot,'/toolbox/physmod/network_engine/network_engine:', ... + matlabroot,'/toolbox/matlab/external/interfaces/webservices/wsdl:', ... + matlabroot,'/toolbox/shared/can:', ... + matlabroot,'/toolbox/shared/can/canblks:', ... + matlabroot,'/toolbox/shared/can/canmasks:', ... + matlabroot,'/toolbox/shared/can/canmex:', ... + matlabroot,'/toolbox/econ/econ:', ... + matlabroot,'/toolbox/matlab/supportpackagemanagement:', ... + matlabroot,'/toolbox/shared/mldatx:', ... + matlabroot,'/toolbox/shared/asynciolib:', ... + matlabroot,'/toolbox/sldo/sldodemos:', ... + matlabroot,'/toolbox/sldo/sldodemos/optim:', ... + matlabroot,'/toolbox/sldo/sldodemos/estim:', ... + matlabroot,'/toolbox/sldo/sldodemos/estim/docexamples/adaptive:', ... + matlabroot,'/toolbox/sldo/sldodemos/estim/docexamples/lookuptable:', ... + matlabroot,'/toolbox/rf/rf:', ... + matlabroot,'/toolbox/rf/rfnetparamfiles:', ... + matlabroot,'/toolbox/rf/rftool:', ... + matlabroot,'/toolbox/physmod/pe/library/m:', ... + matlabroot,'/toolbox/coder/trace:', ... + matlabroot,'/toolbox/realtime:', ... + matlabroot,'/toolbox/realtime/realtime:', ... + matlabroot,'/toolbox/realtime/realtime/rtw:', ... + matlabroot,'/toolbox/dsp/dspdeployabledemos:', ... + matlabroot,'/toolbox/distcomp/mapreduce:', ... + matlabroot,'/toolbox/coder/profile:', ... + matlabroot,'/toolbox/physmod/sdl/sdl:', ... + matlabroot,'/toolbox/physmod/sdl/classic:', ... + matlabroot,'/toolbox/simulink/compiled_model_interface:', ... + matlabroot,'/toolbox/shared/dsp/vision/matlab/utilities:', ... + matlabroot,'/toolbox/shared/dsp/vision/simulink/utilities:', ... + matlabroot,'/toolbox/shared/dsp/vision/matlab/utilities/mex:', ... + matlabroot,'/toolbox/shared/dsp/vision/simulink/utilities/mex:', ... + matlabroot,'/toolbox/shared/dsp/vision/matlab/utilities/init:', ... + matlabroot,'/toolbox/shared/dsp/vision/matlab/vision:', ... + matlabroot,'/toolbox/shared/dsp/vision/simulink/vision:', ... + matlabroot,'/toolbox/simulink/simharness/simharness:', ... + matlabroot,'/toolbox/hdlcoder/slhdltemplates:', ... + matlabroot,'/toolbox/shared/sl_web_widgets:', ... + matlabroot,'/toolbox/shared/pdelib:', ... + matlabroot,'/toolbox/shared/reqmgt:', ... + matlabroot,'/toolbox/slvnv/reqmgt:', ... + matlabroot,'/toolbox/slvnv/reqmgt/RTExplorer:', ... + matlabroot,'/toolbox/symbolic/symbolicdemos:', ... + matlabroot,'/toolbox/sl3d/sl3d:', ... + matlabroot,'/toolbox/matlab/toolboxmanagement:', ... + matlabroot,'/toolbox/idelink/idelinkdemos:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs/ccsdemos:', ... + matlabroot,'/toolbox/idelink/extensions/ticcs/ccsdemos/util:', ... + matlabroot,'/toolbox/hdlcoder/hdllib/ml_lib:', ... + matlabroot,'/toolbox/matlab/apps:', ... + matlabroot,'/toolbox/wavelet/wavelet:', ... + matlabroot,'/toolbox/wavelet/wmultisig1d:', ... + matlabroot,'/toolbox/wavelet/compression:', ... + matlabroot,'/toolbox/physmod/sh/sh:', ... + matlabroot,'/toolbox/matlab/system:', ... + matlabroot,'/toolbox/simulink/simulink_data_dictionary/sldd:', ... + matlabroot,'/toolbox/rtw/targets/ecoder/ecoderdemos/dataclasses:', ... + matlabroot,'/toolbox/rtw/targets/ecoder/ecoderdemos:', ... + matlabroot,'/toolbox/nnet:', ... + matlabroot,'/toolbox/nnet/nncontrol:', ... + matlabroot,'/toolbox/nnet/nnet:', ... + matlabroot,'/toolbox/nnet/nnet/nnadapt:', ... + matlabroot,'/toolbox/nnet/nnet/nndatafun:', ... + matlabroot,'/toolbox/nnet/nnet/nnderivative:', ... + matlabroot,'/toolbox/nnet/nnet/nndistance:', ... + matlabroot,'/toolbox/nnet/nnet/nndivision:', ... + matlabroot,'/toolbox/nnet/nnet/nninitlayer:', ... + matlabroot,'/toolbox/nnet/nnet/nninitnetwork:', ... + matlabroot,'/toolbox/nnet/nnet/nninitweight:', ... + matlabroot,'/toolbox/nnet/nnet/nnlearn:', ... + matlabroot,'/toolbox/nnet/nnet/nnnetfun:', ... + matlabroot,'/toolbox/nnet/nnet/nnnetinput:', ... + matlabroot,'/toolbox/nnet/nnet/nnnetwork:', ... + matlabroot,'/toolbox/nnet/nnet/nnperformance:', ... + matlabroot,'/toolbox/nnet/nnet/nnplot:', ... + matlabroot,'/toolbox/nnet/nnet/nnprocess:', ... + matlabroot,'/toolbox/nnet/nnet/nnsearch:', ... + matlabroot,'/toolbox/nnet/nnet/nntopology:', ... + matlabroot,'/toolbox/nnet/nnet/nntrain:', ... + matlabroot,'/toolbox/nnet/nnet/nntransfer:', ... + matlabroot,'/toolbox/nnet/nnet/nnweight:', ... + matlabroot,'/toolbox/nnet/nnguis:', ... + matlabroot,'/toolbox/nnet/nnobsolete:', ... + matlabroot,'/toolbox/nnet/nnutils:', ... + matlabroot,'/toolbox/matlab/networklib:', ... + matlabroot,'/toolbox/stats/stats:', ... + matlabroot,'/toolbox/stats/classreg:', ... + matlabroot,'/toolbox/stats/clustering:', ... + matlabroot,'/toolbox/target/extensions/processor/tic5000:', ... + matlabroot,'/toolbox/target/extensions/processor/tic5000/blks:', ... + matlabroot,'/toolbox/target/extensions/processor/tic5000/blks/mex:', ... + matlabroot,'/toolbox/target/extensions/processor/tic5000/blks/masks:', ... + matlabroot,'/toolbox/shared/slvnv:', ... + matlabroot,'/toolbox/slvnv/simcoverage:', ... + matlabroot,'/toolbox/physmod/sm/sm/m:', ... + matlabroot,'/toolbox/shared/siglib:', ... + matlabroot,'/toolbox/simulink/sta/ui:', ... + matlabroot,'/toolbox/simulink/sta/ui/comparisontool:', ... + matlabroot,'/toolbox/simulink/sta/ui/mapping:', ... + matlabroot,'/toolbox/simulink/sta/ui/mapping/callbacks:', ... + matlabroot,'/toolbox/simulink/sta/ui/mapping/util:', ... + matlabroot,'/toolbox/simulink/sta/ui/toolstrip:', ... + matlabroot,'/toolbox/simulink/sta/ui/toolstrip/open/streaming:', ... + matlabroot,'/toolbox/simulink/sta/ui/toolstrip/help:', ... + matlabroot,'/toolbox/simulink/sta/ui/toolstrip/open:', ... + matlabroot,'/toolbox/simulink/sta/ui/toolstrip/session:', ... + matlabroot,'/toolbox/simulink/sta/ui/toolstrip/report:', ... + matlabroot,'/toolbox/physmod/drive/drive:', ... + matlabroot,'/toolbox/sldo/sldo:', ... + matlabroot,'/toolbox/sldo/sldoguis:', ... + matlabroot,'/toolbox/sldo/sloptim/sloptim:', ... + matlabroot,'/toolbox/sldo/sloptim/sloptguis:', ... + matlabroot,'/toolbox/sldo/sloptim/sloptobsolete:', ... + matlabroot,'/toolbox/sldo/slestim/slestguis:', ... + matlabroot,'/toolbox/sldo/slestim/slestim:', ... + matlabroot,'/toolbox/sldo/slestim/slestmex:', ... + matlabroot,'/toolbox/sldo/slestim/slestutil:', ... + matlabroot,'/toolbox/simulink/simulink/slproject/templates:', ... + matlabroot,'/toolbox/control/control:', ... + matlabroot,'/toolbox/control/ctrlguis:', ... + matlabroot,'/toolbox/control/ctrlobsolete:', ... + matlabroot,'/toolbox/control/ctrlutil:', ... + matlabroot,'/toolbox/imaq/imaq:', ... + matlabroot,'/toolbox/dsp/templates:', ... + matlabroot,'/toolbox/shared/m3i:', ... + matlabroot,'/toolbox/globaloptim:', ... + matlabroot,'/toolbox/globaloptim/globaloptim:', ... + matlabroot,'/toolbox/shared/system/coreblocks:', ... + matlabroot,'/toolbox/physmod/powersys/DR/DRdemo:', ... + matlabroot,'/toolbox/shared/sl_async_streaming:', ... + matlabroot,'/toolbox/physmod/drive/drivedemos:', ... + matlabroot,'/toolbox/sl3d/sl3ddemos:', ... + matlabroot,'/toolbox/curvefit/curvefit:', ... + matlabroot,'/toolbox/curvefit/splines:', ... + matlabroot,'/toolbox/curvefit/cftoolgui:', ... + matlabroot,'/toolbox/curvefit/sftoolgui:', ... + matlabroot,'/toolbox/physmod/simscape/engine/mli/m:', ... + matlabroot,'/toolbox/shared/eda/board:', ... + matlabroot,'/toolbox/physmod/simscape/library/m:', ... + matlabroot,'/toolbox/shared/advisor:', ... + matlabroot,'/toolbox/curvefit/curvefitdemos:', ... + matlabroot,'/toolbox/physmod/powersys/powerdemo/power_electronics:', ... + matlabroot,'/toolbox/shared/system/sfun:', ... + matlabroot,'/toolbox/shared/dsp/visionhdl/simulink/dsp:', ... + matlabroot,'/toolbox/physmod/sm/docexamples:', ... + matlabroot,'/toolbox/shared/hdlshared/hdlshared_gui:', ... + matlabroot,'/toolbox/fuzzy/fuzzy:', ... + matlabroot,'/toolbox/fuzzy/fuzzyutil:', ... + matlabroot,'/toolbox/coder/codegendemos:', ... + matlabroot,'/toolbox/compiler/mlhadoop:', ... + matlabroot,'/toolbox/fixedpoint/fixedpointtool:', ... + matlabroot,'/toolbox/robotics/robotexamples:', ... + matlabroot,'/toolbox/robotics/robotexamples/ros:', ... + matlabroot,'/toolbox/robotics/robotexamples/ros/helpers:', ... + matlabroot,'/toolbox/robotics/robotexamples/robotalgs:', ... + matlabroot,'/toolbox/robotics/robotexamples/robotalgs/helpers:', ... + matlabroot,'/toolbox/robotics/robotexamples/robotsimulink:', ... + matlabroot,'/toolbox/robotics/robotexamples/robotsimulink/helpers:', ... + matlabroot,'/toolbox/physmod/sm/local/m:', ... + matlabroot,'/toolbox/shared/controllib/requirements:', ... + matlabroot,'/toolbox/shared/sdi:', ... + matlabroot,'/toolbox/instrument/instrument:', ... + matlabroot,'/toolbox/instrument/instrumentblks/instrumentblks:', ... + matlabroot,'/toolbox/instrument/instrumentblks/instrumentmex:', ... + matlabroot,'/toolbox/instrument/instrumentblks/instrumentmasks:', ... + matlabroot,'/toolbox/physmod/sm/smdemos:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/images:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/wing_landing_gear:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/wing_landing_gear/images:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/cart_double_pendulum:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/cart_double_pendulum/images:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/stewart_platform:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/stewart_platform/images:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/double_crank_aiming:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/double_crank_aiming/images:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/bread_slicer:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/bread_slicer/images:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/import/stewart_platform:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/import/four_bar:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/radial_engine:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/radial_engine/images:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/double_wishbone_suspension:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/double_wishbone_suspension/images:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/import/robot:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/cardan_gear:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/cardan_gear/images:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/windshield_wiper:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/windshield_wiper/images:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/backhoe:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/robotic_wrist:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/carousel:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/welding_robot:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/import/robot_stepfiles:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/potters_wheel:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/linear_actuator:', ... + matlabroot,'/toolbox/physmod/sm/smdemos/pto_shaft:', ... + matlabroot,'/toolbox/shared/simulink:', ... + matlabroot,'/toolbox/target/extensions/operatingsystem/linux/blks:', ... + matlabroot,'/toolbox/target/extensions/operatingsystem/linux/blks/masks:', ... + matlabroot,'/toolbox/target/extensions/operatingsystem/linux/blks/mex:', ... + matlabroot,'/toolbox/target/extensions/operatingsystem/linux/src:', ... + matlabroot,'/toolbox/lte/lte:', ... + matlabroot,'/toolbox/lte/lteobsolete:', ... + matlabroot,'/toolbox/coder/matlabcoder:', ... + matlabroot,'/toolbox/coder/matlabcoder/templates:', ... + matlabroot,'/toolbox/pde:', ... + matlabroot,'/toolbox/rf/rfdemos:', ... + matlabroot,'/toolbox/shared/hadoopserializer:', ... + matlabroot,'/toolbox/shared/cxxfe_mi/cxxfe_mi:', ... + matlabroot,'/toolbox/fixpoint:', ... + matlabroot,'/toolbox/fixpoint/fpca:', ... + matlabroot,'/toolbox/ident/iddemos:', ... + matlabroot,'/toolbox/ident/iddemos/examples:', ... + matlabroot,'/toolbox/dsp/dspdemos:', ... + matlabroot,'/toolbox/coder/float2fixed:', ... + matlabroot,'/toolbox/coder/float2fixed/dmm_emlauthoring:', ... + matlabroot,'/toolbox/control/ctrldemos:', ... + matlabroot,'/toolbox/signal/signal:', ... + matlabroot,'/toolbox/signal/sigtools:', ... + matlabroot,'/toolbox/signal/sptoolgui:', ... + matlabroot,'/toolbox/shared/networklib:', ... + matlabroot,'/toolbox/shared/eda/fpgabase:', ... + matlabroot,'/toolbox/shared/dsp/dialog:', ... + matlabroot,'/toolbox/coder/coverage:', ... + matlabroot,'/toolbox/bioinfo/bioinfodata:', ... + matlabroot,'/toolbox/shared/comparisons:', ... + matlabroot,'/toolbox/physmod/elec/elec:', ... + matlabroot,'/toolbox/physmod/sm/templates:', ... + matlabroot,'/toolbox/shared/hwconnectinstaller/common:', ... + matlabroot,'/toolbox/shared/rptgen:', ... + matlabroot,'/toolbox/target/extensions/processor/tic6000:', ... + matlabroot,'/toolbox/target/extensions/processor/tic6000/rtw:', ... + matlabroot,'/toolbox/target/extensions/processor/tic6000/tfl:', ... + matlabroot,'/toolbox/target/extensions/processor/tic6000/utils:', ... + matlabroot,'/toolbox/target/extensions/processor/tic6000/blks/sysobj_mex:', ... + matlabroot,'/toolbox/target/extensions/processor/tic6000/blks/mex:', ... + matlabroot,'/toolbox/robust/robust:', ... + matlabroot,'/toolbox/robust/rctlmi:', ... + matlabroot,'/toolbox/robust/rctutil:', ... + matlabroot,'/toolbox/robust/rctguis:', ... + matlabroot,'/toolbox/robust/rctobsolete/robust:', ... + matlabroot,'/toolbox/robust/rctobsolete/lmi:', ... + matlabroot,'/toolbox/robust/rctobsolete/mutools/commands:', ... + matlabroot,'/toolbox/robust/rctobsolete/mutools/subs:', ... + matlabroot,'/toolbox/physmod/pm_sli/pm_sli:', ... + matlabroot,'/toolbox/matlab/external/interfaces/python:', ... + matlabroot,'/toolbox/fuzzy/fuzdemos:', ... + matlabroot,'/toolbox/matlab/timeseries:', ... + matlabroot,'/toolbox/matlab/hds:', ... + matlabroot,'/toolbox/shared/cgxe/cgxe:', ... + matlabroot,'/toolbox/physmod/simscape/engine/core/m:', ... + matlabroot,'/toolbox/matlab/connector/connector:', ... + matlabroot,'/toolbox/physmod/simscape/engine/sli/m:', ... + matlabroot,'/toolbox/shared/testconsole:', ... + matlabroot,'/toolbox/shared/measure:', ... + matlabroot,'/toolbox/matlab/toolbox_packaging:', ... + matlabroot,'/help/toolbox/robust/examples:', ... + matlabroot,'/toolbox/shared/simulink/sysarch/sysarch:', ... + matlabroot,'/toolbox/simulink/sl_async_streaming:', ... + matlabroot,'/toolbox/physmod/sps/sps:', ... + matlabroot,'/toolbox/simulink/sltemplate:', ... + matlabroot,'/toolbox/nnet/nndemos:', ... + matlabroot,'/toolbox/nnet/nndemos/nndatasets:', ... + matlabroot,'/toolbox/shared/dsp/simulink/dsp:', ... + matlabroot,'/toolbox/imaq/imaqblks/imaqblks:', ... + matlabroot,'/toolbox/imaq/imaqblks/imaqmex:', ... + matlabroot,'/toolbox/imaq/imaqblks/imaqmasks:', ... + matlabroot,'/toolbox/matlab/cefclient:', ... + matlabroot,'/toolbox/bioinfo/biodemos:', ... + matlabroot,'/toolbox/physmod/gui/gfx/m:', ... + matlabroot,'/toolbox/shared/eda/edagraph:', ... + matlabroot,'/toolbox/econ/econdemos:', ... + matlabroot,'/toolbox/shared/dspblks/dspblks:', ... + matlabroot,'/toolbox/shared/dspblks/dspmex:', ... + matlabroot,'/help/toolbox/sldo/examples:', ... + matlabroot,'/toolbox/target/extensions/processor/tic5000/tic5000demos:', ... + matlabroot,'/toolbox/shared/optimlib:', ... + matlabroot,'/toolbox/physmod/sm/gui/m:', ... + matlabroot,'/toolbox/compiler/compilerdemos:', ... + matlabroot,'/toolbox/slcontrol/slctrldemos:', ... + matlabroot,'/toolbox/target/codertarget:', ... + matlabroot,'/toolbox/target/codertarget/rtw:', ... + matlabroot,'/toolbox/geoweb/geoweb:', ... + matlabroot,'/toolbox/physmod/simscape/compiler/mli/m:', ... + matlabroot,'/toolbox/shared/coder/coder:', ... + matlabroot,'/toolbox/physmod/common/external/mli/m:', ... + matlabroot,'/toolbox/simulink/simulink/iodata/ioformat:', ... + matlabroot,'/toolbox/shared/multimedia:', ... + matlabroot,'/toolbox/coder/coder:', ... + matlabroot,'/toolbox/physmod/pe/utils/m:', ... + matlabroot,'/toolbox/shared/glue:', ... + matlabroot,'/toolbox/shared/glue/studio:', ... + matlabroot,'/toolbox/hdlcoder/hdllib/sl_lib:', ... + matlabroot,'/toolbox/physmod/simscape/simscape/m:', ... + matlabroot,'/toolbox/physmod/sm/ssci/m:', ... + matlabroot,'/toolbox/shared/dsp/hdl:', ... + matlabroot,'/toolbox/shared/sldv:', ... + matlabroot,'/toolbox/shared/slcontrollib:', ... + matlabroot,'/toolbox/fixedpoint/fixedpointconverter:', ... + matlabroot,'/toolbox/physmod/powersys/facts/factsdemo:', ... +%%% END ENTRIES %%% + ... +]; + +p = [userpath,p]; diff --git a/OrekitJava/test/de/netsat/orekit/matlab/MagenticFieldTest.java b/OrekitJava/test/de/netsat/orekit/matlab/MagenticFieldTest.java index 307a778..c94af22 100644 --- a/OrekitJava/test/de/netsat/orekit/matlab/MagenticFieldTest.java +++ b/OrekitJava/test/de/netsat/orekit/matlab/MagenticFieldTest.java @@ -1,24 +1,49 @@ package de.netsat.orekit.matlab; +import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.apache.commons.math3.ode.nonstiff.AdaptiveStepsizeIntegrator; import org.apache.commons.math3.ode.nonstiff.DormandPrince853Integrator; +import org.orekit.attitudes.Attitude; +import org.orekit.bodies.GeodeticPoint; +import org.orekit.bodies.OneAxisEllipsoid; import org.orekit.errors.OrekitException; +import org.orekit.frames.Frame; +import org.orekit.frames.FramesFactory; +import org.orekit.models.earth.GeoMagneticElements; +import org.orekit.models.earth.GeoMagneticField; import org.orekit.orbits.KeplerianOrbit; import org.orekit.orbits.OrbitType; +import de.netsat.orekit.NetSatConfiguration; import de.netsat.orekit.matlab.loadScripts; +import de.netsat.orekit.matlab.MatlabPushHandler; + import org.orekit.propagation.SpacecraftState; import org.orekit.propagation.numerical.NumericalPropagator; +import org.orekit.time.AbsoluteDate; +import org.orekit.utils.IERSConventions; +import org.orekit.utils.PVCoordinates; +import org.orekit.utils.TimeStampedAngularCoordinates; import matlabcontrol.MatlabConnectionException; import matlabcontrol.MatlabInvocationException; import matlabcontrol.MatlabProxy; public class MagenticFieldTest { + + /** + * + * @param mi + * @return + * @throws MatlabInvocationException + * @throws OrekitException + */ public static SpacecraftState runNumericalPropagatorlocal(MatlabInterface mi) throws MatlabInvocationException, OrekitException { + String[] options = { "velocity" }; + NetSatConfiguration.init(); int sat_nr = 1; Object[] returningObject; returningObject = mi.returningEval("setNumericalPropagatorSettings()", 5); @@ -28,27 +53,90 @@ public static SpacecraftState runNumericalPropagatorlocal(MatlabInterface mi) double maxstep = ((double[]) returningObject[2])[0]; double duration = ((double[]) returningObject[3])[0]; double outputStepSize = ((double[]) returningObject[4])[0]; + final OrbitType propagationType = OrbitType.KEPLERIAN; final double[][] tolerances = NumericalPropagator.tolerances(positionTolerance, keplerOrbit, propagationType); AdaptiveStepsizeIntegrator integrator = new DormandPrince853Integrator(minStep, maxstep, tolerances[0], tolerances[1]); - NumericalPropagator numericPropagator = new NumericalPropagator(integrator); - numericPropagator.setOrbitType(propagationType); - SpacecraftState finalState = numericPropagator.propagate(keplerOrbit.getDate().shiftedBy(duration)); - - return finalState; - + SpacecraftState initialState = new SpacecraftState(keplerOrbit, + new Attitude(FramesFactory.getEME2000(), + new TimeStampedAngularCoordinates(keplerOrbit.getDate(), + new PVCoordinates(new Vector3D(10, 10), new Vector3D(1, 2)), + new PVCoordinates(new Vector3D(15, 3), new Vector3D(1, 2)))), + 1.0); + + NumericalPropagator numericPropagator = new NumericalPropagator(integrator); + numericPropagator.setInitialState(initialState); + // new matlabPushStepHandler(mi); + numericPropagator.setMasterMode(outputStepSize, new MatlabPushHandler(mi, options)); + SpacecraftState finalState = numericPropagator.propagate(keplerOrbit.getDate().shiftedBy(duration)); + + return finalState; + + } + + /** + * Set the variable in matltab (the variable should be the type double or + * could be casted to double. + * + * @param mi + * @param name + * @param value + * @throws MatlabInvocationException + */ + public void setVariableInMatlab(MatlabInterface mi, String name, double value) throws MatlabInvocationException { + + mi.getProxy().setVariable(name, value); + } + + /** + * Converts the ECI Coordinates (R;V) to Latitude, Longitude, Altitude + * (L;L;A). The point it uses the ITRF (Inertial Terrestrial reference frame + * for the frame. + * + * @param ECICoordinates + * @param oae + * @param date + * @return + * @throws OrekitException + */ + public static GeodeticPoint getLLA(Vector3D ECICoordinates, OneAxisEllipsoid oae, AbsoluteDate date) + throws OrekitException { + return oae.transform(ECICoordinates, FramesFactory.getITRF(IERSConventions.IERS_2010, true), date); + } + + /** + * Calculates the magnetic field in a given ECI points. + * + * @param ECICoordinates + * @param oae + * @param date + * @param model + * @return + * @throws OrekitException + */ + public static Vector3D calculateMagenticField(Vector3D ECICoordinates, OneAxisEllipsoid oae, AbsoluteDate date, + GeoMagneticField model) throws OrekitException { + GeodeticPoint geop = getLLA(ECICoordinates, oae, date); + // The altitude which is delivered by the getLLA function is in m it + // should be converted to KM. + double altitude = geop.getAltitude() / 1000; + double latitude = geop.getLatitude(); + double longtitude = geop.getLongitude(); + GeoMagneticElements geome = model.calculateField(Math.toDegrees(latitude), Math.toDegrees(longtitude), + altitude); + return geome.getFieldVector(); } public static void main(String[] args) throws OrekitException, MatlabConnectionException, MatlabInvocationException { - //Object[] obj = null; + // Object[] obj = null; MatlabInterface mi; mi = new MatlabInterface(MatlabInterface.MATLAB_PATH, null); - //obj = runNumericalPropagatorlocal(mi); + SpacecraftState obj = runNumericalPropagatorlocal(mi); - //System.out.println(((double[]) obj[1])[0]); + // System.out.println(((double[]) obj[1])[0]); } } diff --git a/OrekitJava/test/de/netsat/orekit/matlab/Maneuvers.java b/OrekitJava/test/de/netsat/orekit/matlab/Maneuvers.java index 5d8dfc7..3c4cc36 100755 --- a/OrekitJava/test/de/netsat/orekit/matlab/Maneuvers.java +++ b/OrekitJava/test/de/netsat/orekit/matlab/Maneuvers.java @@ -69,7 +69,7 @@ public SpacecraftState resetState(final ApsideDetector detector, final Spacecraf } - private static class matlabPushStepHandler implements OrekitFixedStepHandler { + public static class matlabPushStepHandler implements OrekitFixedStepHandler { MatlabInterface mi; Vector3D[] position_history; diff --git a/OrekitJava/test/de/netsat/orekit/matlab/MatlabPushHandler.java b/OrekitJava/test/de/netsat/orekit/matlab/MatlabPushHandler.java new file mode 100644 index 0000000..1198bcd --- /dev/null +++ b/OrekitJava/test/de/netsat/orekit/matlab/MatlabPushHandler.java @@ -0,0 +1,260 @@ +package de.netsat.orekit.matlab; + + +import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; +import org.orekit.errors.OrekitException; +import org.orekit.errors.PropagationException; +import org.orekit.frames.FramesFactory; +import org.orekit.propagation.SpacecraftState; +import org.orekit.propagation.sampling.OrekitFixedStepHandler; +import org.orekit.time.AbsoluteDate; +import org.orekit.utils.IERSConventions; +import org.orekit.utils.TimeStampedPVCoordinates; + +import matlabcontrol.MatlabInvocationException; + +public class MatlabPushHandler implements OrekitFixedStepHandler { + MatlabInterface mi; + String[] options; + private TimeStampedPVCoordinates tsc; + private Vector3D pVec; + private Vector3D vVec; + + public MatlabPushHandler(MatlabInterface mi, String[] options) { + this.mi = mi; + this.options = options; + } + + @Override + public void handleStep(SpacecraftState currentState, boolean isLast) throws PropagationException { + // TODO Auto-generated method stub + try { + matlabInterfacePushPV(currentState); + } catch (Exception e) { + e.printStackTrace(); + System.err.println(e.getMessage()); + } + } + + void matlabInterfacePushPV(SpacecraftState scstate) throws MatlabInvocationException, OrekitException { + try { + this.evaluateOptions(scstate); + // TimeStampedPVCoordinates scCoordinates = scstate + // .getPVCoordinates(FramesFactory.getITRF(IERSConventions.IERS_2010, + // true)); + // Vector3D pVec = scCoordinates.getPosition(); + // Vector3D vVec = scCoordinates.getVelocity(); + // AbsoluteDate date = scCoordinates.getDate(); + // + // mi.getProxy().setVariable("Time", + // scCoordinates.getDate().toString()); + // mi.getProxy().setVariable("Position_x", pVec.getX()); + // mi.getProxy().setVariable("Position_y", pVec.getY()); + // mi.getProxy().setVariable("Position_z", pVec.getZ()); + // mi.getProxy().setVariable("vel_x", + // scstate.getPVCoordinates().getVelocity().getX()); + // mi.getProxy().setVariable("vel_y", + // scstate.getPVCoordinates().getVelocity().getY()); + // mi.getProxy().setVariable("vel_z", + // scstate.getPVCoordinates().getVelocity().getZ()); + // mi.getProxy().setVariable("period", + // scstate.getKeplerianPeriod()); + // TimeStampedPVCoordinates sunPos = + // CelestialBodyFactory.getSun().getPVCoordinates(scCoordinates.getDate(), + // FramesFactory.getITRF(IERSConventions.IERS_2010, true)); + // mi.getProxy().setVariable("Sun_Position", + // sunPos.getPosition().toArray()); + + } catch (Exception e) { + e.printStackTrace(); + System.err.println(e.getMessage()); + } + } + + @Override + public void init(SpacecraftState s0, AbsoluteDate t) throws PropagationException { + // TODO Auto-generated method stub + + } + + /** + * Sets the timestampCoordinates with the help of spacecraft state. + * + * @param state + * @throws OrekitException + */ + public void setTimeStampedPVCoordinates(SpacecraftState state) throws OrekitException { + this.tsc = state.getPVCoordinates(FramesFactory.getITRF(IERSConventions.IERS_2010, true)); + } + + /** + * Returns the timeStampedPVCoordinated calculated before. + * + * @return tsc + * @throws OrekitException + */ + public TimeStampedPVCoordinates getTimeStampedPVCoordinates() throws OrekitException { + return this.tsc; + } + + /** + * Sets the Velocity vector for the given step. + * + * @param tsc + * + */ + public void setVelocityVector(TimeStampedPVCoordinates tsc) { + this.vVec = tsc.getVelocity(); + } + + /** + * Sets the position vector for the given step. + * + * @param tsc + */ + public void setPostionVector(TimeStampedPVCoordinates tsc) { + this.pVec = tsc.getPosition(); + } + + /** + * + * @return pVec position vector. + */ + public Vector3D getPositionVector() { + return this.pVec; + } + + /** + * + * @return vVect Velocity vector. + */ + public Vector3D getVelocityVector() { + return this.vVec; + } + + public void evaluateOptions(SpacecraftState state) throws OrekitException, MatlabInvocationException { + this.setTimeStampedPVCoordinates(state); + this.setVelocityVector(this.tsc); + this.setPostionVector(this.tsc); + for (String opt : this.options) { + if (opt.equals("position")) { + + } + if (opt.equals("velocity")) { + + this.setVXInMatlab("v_x"); + this.setVYInMatlab("v_y"); + this.setVZInMatlab("v_z"); + } + if (opt.equals("time")) { + + } + if (opt.equals("magnetic_field")) { + + } + if (opt.equals("sun")) { + + } + } + } + + /** + * Sets the X Coordinate of the Velocity in Matlab + * + * @param name + * @throws OrekitException + * @throws MatlabInvocationException + */ + public void setVXInMatlab(String name) throws OrekitException, MatlabInvocationException { + this.setIfNull(name, "v_x"); + this.setVariableInMatlab(name, this.getVelocityVector().getX()); + } + + /** + * Sets the Y Coordinate of the Velocity in Matlab + * + * @param name + * @throws OrekitException + * @throws MatlabInvocationException + */ + public void setVYInMatlab(String name) throws OrekitException, MatlabInvocationException { + this.setIfNull(name, "v_y"); + this.setVariableInMatlab(name, this.getVelocityVector().getY()); + } + + /** + * Sets the Z Coordinate of the Velocity in Matlab + * + * @param name + * @throws OrekitException + * @throws MatlabInvocationException + */ + public void setVZInMatlab(String name) throws OrekitException, MatlabInvocationException { + this.setIfNull(name, "v_z"); + this.setVariableInMatlab(name, this.getVelocityVector().getZ()); + } + + /** + * Sets the Z Coordinate of the Position in Matlab + * + * @param name + * @throws OrekitException + * @throws MatlabInvocationException + */ + public void setPZInMatlab(String name) throws OrekitException, MatlabInvocationException { + this.setIfNull(name, "p_z"); + this.setVariableInMatlab(name, this.getPositionVector().getZ()); + } + + /** + * Sets the Y Coordinate of the Position in Matlab + * + * @param name + * @throws OrekitException + * @throws MatlabInvocationException + */ + public void setPYInMatlab(String name) throws OrekitException, MatlabInvocationException { + this.setIfNull(name, "p_y"); + this.setVariableInMatlab(name, this.getPositionVector().getY()); + } + + /** + * Sets the X Coordinate of the Position in Matlab + * + * @param name + * @throws OrekitException + * @throws MatlabInvocationException + */ + public void setPXInMatlab(String name) throws OrekitException, MatlabInvocationException { + this.setIfNull(name, "p_x"); + this.setVariableInMatlab(name, this.getPositionVector().getX()); + } + + /** + * Set the variable in matltab (the variable should be the type double or + * could be casted to double. + * + * @param mi + * @param name + * @param value + * @throws MatlabInvocationException + */ + public void setVariableInMatlab(String name, Object value) throws MatlabInvocationException { + this.mi.getProxy().setVariable(name, value); + } + + /** + * Checks if an string is set if not, set it with default value. + * + * @param var + * @param value + * @return + */ + public String setIfNull(String var, String value) { + if (var == null || var.isEmpty()) { + var = value; + } + return var; + } + +} \ No newline at end of file diff --git a/OrekitMatlab/definitions/setNumericalPropagatorSettings.m b/OrekitMatlab/definitions/setNumericalPropagatorSettings.m index f2e72d2..3a81189 100644 --- a/OrekitMatlab/definitions/setNumericalPropagatorSettings.m +++ b/OrekitMatlab/definitions/setNumericalPropagatorSettings.m @@ -1,9 +1,9 @@ function [position_tolerance, min_step, max_step, duration, step_size, choiceofProp] = setNumericalPropagatorSettings() -position_tolerance = 0.01; %m +position_tolerance = 100; %m min_step = 0.001; max_step = 1000; -step_size = 60; +step_size = 10000; duration = 245250*2; choiceofProp = 0; % duration = 24525000*2; \ No newline at end of file diff --git a/Report/Report_3_12_15.md b/Report/Report_3_12_15.md new file mode 100644 index 0000000..d205224 --- /dev/null +++ b/Report/Report_3_12_15.md @@ -0,0 +1,12 @@ +# 3/12/15 +## Implementation of ECI to LLA in Java +This will be done with the help of a recursive function. +The source is [here](http://de.mathworks.com/help/aeroblks/ecefpositiontolla.html). +The other way is to use what Orekit is capable of. It can transform different coordinates to each other using the transform function that comes with the body. As of the Orekit documentation, it only offers one kind of body which is *OneAxisEllipsoid.* Starts and planets can be simulated using this abstract method. +The reference frame to be used here is the ITRF (Inertial Terrestrial reference Frame) which resembles the ECI. + + +## List of Important Pages: +* [MatlabControl](http://matlabcontrol.googlecode.com/svn-history/r503/javadocs/doc/matlabcontrol/MatlabOperations.html) +* [Orekit Index](https://www.orekit.org/static/apidocs/index-all.html) +* [Orekit Docs](https://www.orekit.org/forge/projects/orekit/wiki/)