Create a one pcode file for the main function and the called functions together.
sample_one
function sample_one
%SAMPLE_ONE Summary of this function goes here
% Detailed explanation goes here
% It is a sample function one. :)
disp('We are here in sample function one!!!');
x = -pi:.1:pi;
y = sin(x);
plot(x,y);
end