MATLAB: Help in p code

p code help

good evening everybody
my question is how can I add a help within a p code ?
thanks in advance

Best Answer

The old Matlab way is to accompany the file my_function.p with a file my_function.m, which only contains the help-text.
function [ output_args ] = my_function( input_args )
%my_function Summary of this function goes here
% Detailed explanation goes here
end