MagneticControlSim:

Path: SC/MagneticControl

% Demonstrates magnetic control.
  ------------------------------------------------------------------------
  See also MagField, FRBWithMag, Constant, NPlot, Plot2D, PrintFig, 
  TimeGUI, TimeLabl, RK4, Date2JD
  ------------------------------------------------------------------------
%
--------------------------------------------------------------------------
   Copyright (c) 1995-2004, 2016 Princeton Satellite Systems, Inc.
   All rights reserved.
--------------------------------------------------------------------------
   Since version 6.1 (2004)
   2016.1 - Switch to newer IGRF11 model (from 1995 data) for the Earth. 
   Also use a function handle for the RHS.
--------------------------------------------------------------------------