Table of contents
CSPICE_MICE returns compile time, date, and version information
on the Mice shared object library.
Given:
item a string identifying the compile value to return.
[1,c1] = size(item); char = class(item)
or
[1,1] = size(item); cell = class(item)
Allowed values for 'item':
'DATE' - the date of the Mice interface compile
'TIME' - the time on the date of the Mice
interface compile
'VERSION' - the Mice version string
the call:
value = cspice_mice( item )
returns:
value the string corresponding to the quantity identified by 'item'.
None.
Any numerical results shown for this example may differ between
platforms as the results depend on the SPICE kernels used as input
and the machine specific arithmetic implementation.
1) Display the Mice library version, and its compilation date and
time, as well as the Mice toolkit version.
Note that the Mice toolkit version is different than the Mice
library shared object version. The earlier is common to all
toolkits, while the later is specific to Mice.
Example code begins here.
function mice_ex1()
fprintf( 'Mice toolkit version: %s\n', cspice_tkvrsn( 'toolkit' ) )
fprintf( 'Mice library version: %s\n', cspice_mice ( 'version' ) )
fprintf( ' Compiled on %s at %s\n', ...
cspice_mice( 'date' ), ...
cspice_mice( 'time' ) )
When this program was executed on a Mac/Intel/Octave6.x/64-bit
platform, the output was:
Mice toolkit version: CSPICE_N0066
Mice library version: Mice 1.5.0 05-JAN-2017 (EDW) (NJB)
Compiled on Apr 11 2018 at 23:27:58
None.
None.
None.
None.
MICE.REQ
None.
J. Diaz del Rio (ODC Space)
E.D. Wright (JPL)
-Mice Version 1.1.0, 10-AUG-2021 (EDW) (JDR)
Edited the -Examples section to comply with NAIF standard.
Reformatted example's output and added problem statement.
Added -Parameters, -Exceptions, -Files, -Restrictions,
-Literature_References and -Author_and_Institution sections.
Eliminated use of "lasterror" in rethrow.
-Mice Version 1.0.1, 13-FEB-2015 (EDW)
Edited -I/O section to conform to NAIF standard for Mice
documentation.
-Mice Version 1.0.0, 26-JUN-2006 (EDW)
return compile time, date, and version
|