(1) function [PlugTag, PlugLabel]=PlugHelloWorld(PlugAction)
(2) if nargin<1; PlugAction=“Exec”; end
(3) if strcmp(PlugAction,“Init”)
(4)   PlugTag=“HelloWorld”;
(5)   PlugLabel=“Hello World”;
(6) else
(7)     msgbox(“hello world!”);
(8) end
Algorithm 1