Publish the main and the subfunctions together
18 Apr 2013
(Updated 19 Apr 2013)
Publishes the main and the subfunctions together into any format as supported by publish command
%MAIN_SAMPLE_FUNCTION Summary of this function goes here
% This is a demo to show how the "publish_all_functions" works.
% Call the first function.
% Call the second function.