LoadOBJModel:

Path: CubeSat/Utilities

--------------------------------------------------------------------------
   Load a Wavefront OBJ file. The file can have an associated .mtl file.


   If you call the function with no outputs it will draw the model. If you
   call the function with no inputs you can select a file using the dialog
   box.

   Since version 8.
--------------------------------------------------------------------------
   Form:
   g = LoadOBJModel( file, path, kScale )
--------------------------------------------------------------------------

   ------
   Inputs
   ------

   file        (1,:) Filename
   path        (1,:) Path to the file
   kScale      (1,1) Optional scale factor of the model

   -------
   Outputs
   -------
   g           (1,1) Data structure
                     .name       (1,:)  Model name
                     .component  (:)    Component structure
                     .radius     (1,1)

--------------------------------------------------------------------------

Children:

Common: General/StringToTokens
Common: Graphics/ConvertOBJFileColorToMatlab
Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Math: Linear/Mag

Back to the CubeSat Module page