%% Generate Dependencies for Built-in Gazebo Message
% This example shows how to generate dependencies for built-in Gazebo message.
% Create a folder in the local directory.

folderPath = fullfile(pwd,'customMessage');
mkdir(folderPath)
cd(folderPath)

% Run the gazebogenmsg function and specify the folder path and select one or more built-in gazebo message from the list.

gazebogenmsg(folderPath,"GazeboMessageList","gazebo.msgs.Image");

% Run the following commands to add and save the install path.

% addpath(fullfile(folderPath,'install'))
% savepath

% Create Gazebo plugin package using the packageGazeboPlugin function.

packageGazeboPlugin

% Copyright 2020 The MathWorks, Inc.