gzmodel
Syntax
Description
 returns and displays a
        list of model names List = gzmodel("list")List available in the Gazebo world.
If you do not define the output argument, the model names are returned in the MATLAB® Command Window.
[
        assigns values to the model parameters using one or more name-value pair arguments for the
        specified Gazebo model Status,Message] = gzmodel("set",modelname,Name,Value)modelname. The function returns the status of
        the value assignments Status and the message of their success and
        failure Message. For example,
          gzmodel("set","unit_box","Position",[2 2 0.5]) sets the position of the
        model unit_box.
If you do not define the output argument, the status and message are returned in the MATLAB Command Window.
[
        retrieves values of the model parameters using one or more parameter name,
          Output1,...,OutputN] = gzmodel("get",modelname,params)params, for the specified Gazebo model
        modelname. The function returns one or more outputs
          Output1,...,OutputN, corresponding to the specified parameter
        names.
If you do not define the output argument, the model parameters are returned in the MATLAB Command Window.
        returns the Simulation Description Format (SDF) of the specified Gazebo model as a
        string.sdfString = gzmodel("importSDF",modelname)
If you do not define the output argument, the SDF model description are returned in the MATLAB Command Window.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Limitations
gzmodelfunction not supported with MATLAB Compiler™.
Version History
Introduced in R2021a