vrworld/addexternproto
(To be removed) Add externproto declaration to virtual
        world
vrworld/addexternproto will be removed in a future release. For more
        information, see Version History.
Syntax
addexternproto(vrworld_object, protofile, protoname) addexternproto(vrworld_object, protofile, protoname, protodef)
Arguments
| 
 | A  | 
| 
 | String containing the name of the prototype file from which the
                     | 
| 
 | String containing the name of the  | 
| 
 | String containing a new name for the  | 
Description
addexternproto(vrworld_object, protofile, protoname) adds an
          EXTERNPROTO declaration from file protofile to the
        virtual world. The handle vrworld_object refers to the virtual world. The
          EXTERNPROTO declaration is identified as protoname.
        If protoname is a cell array of identifiers, the function adds multiple
          EXTERNPROTOs from one file to the virtual world. 
addexternproto(vrworld_object, protofile, protoname, protodef) adds
        an EXTERNPROTO declaration from file protofile to the
        virtual world. The handle vrworld_object refers to the virtual world. The
          EXTERNPROTO declaration is identified as protoname.
        If protoname is a cell array of identifiers, the function adds multiple
          EXTERNPROTOs from one file to the virtual world. This command then
        renames the new EXTERNPROTO declaration to
        protodef.
In both cases, the EXTERNPROTO declaration becomes equivalent to the
          PROTO declaration. In other words, protoname or
          protodef becomes an internal PROTO type in the
        virtual scene associated with vrworld_object. After you save the virtual
        world, these PROTO declarations no longer require a reference to the
        original file, protofile, that contains the
          EXTERNPROTO declarations.