Basics, Building SPICE Applications (MATLAB) |
Table of ContentsNote About HTML Links Environment Set-up Unix/Linux Windows Confirm MATLAB can access Mice: A simple example program May 25, 2007 Note About HTML Links
In order for the links to be resolved, create a subdirectory called ``lessons'' under the ``doc/html'' directory of the Toolkit tree and copy this document to that subdirectory before loading it into a Web browser. Environment Set-up
Unix/Linux
>> addpath( '/naif/mice/lib') >> addpath( '/naif/mice/src/mice') Windows
>> addpath( 'C:\naif\mice\lib') >> addpath( 'C:\naif\mice\src\mice') Confirm MATLAB can access Mice:
>> which miceA proper response shows a path to the Mice interface library, similar to:
/naif/mice/lib/mice.mexmaciThe response
'mice' not found.indicates the MATLAB search path does not include the Mice diectories ``src/mice'' and ``lib.'' A simple example program
File tk_ver.m:
function tk_ver() disp( ['Toolkit version : ' cspice_tkvrsn('TOOLKIT') ] )From MATLAB, execute the function:
>> tk_ver Toolkit version : CSPICE_N0061 |