%% Load and Unload shrlibsample Library
% Add the shrlib examples folder to the path.

addpath(fullfile(matlabroot,'extern','examples','shrlib'))

%
% Load the library, if it is not already loaded.

if ~libisloaded('shrlibsample')
   loadlibrary('shrlibsample')
end

%
% When finished, unload the library to free memory.

unloadlibrary shrlibsample

% Copyright 2012 The MathWorks, Inc.