del(ptree,paramname) deletes
a parameter with name paramname from the parameter
tree, ptree. The parameter is also deleted from
the ROS parameter server. If the specified paramname does
not exist, the function displays an error.
Connect to the ROS network. Create a parameter tree and a 'MyParam' parameter. Check that the parameter exists.
rosinit
The value of the ROS_MASTER_URI environment variable, http://172.23.65.36:59698, will be used to connect to the ROS master.
Initializing global node /matlab_global_node_26394 with NodeURI http://172.23.65.36:42539/ and MasterURI http://172.23.65.36:59698.
Parameter tree, specified as a ParameterTree object
handle. Create this object using the rosparam function.
ROS parameter name, specified as a string scalar or character vector. This string must match
the parameter name exactly.
ROS parameter namespace, specified as a string scalar or character vector. All parameter names
starting with this string are listed when calling
rosparam("list",namespace).
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.