help in p code

2 views (last 30 days)
XAXRXTX
XAXRXTX on 1 Sep 2014
Commented: XAXRXTX on 2 Sep 2014
good evening everybody
my question is how can I add a help within a p code ?
thanks in advance

Accepted Answer

per isakson
per isakson on 2 Sep 2014
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
  4 Comments
XAXRXTX
XAXRXTX on 2 Sep 2014
thank a lot per isakson for your help and time and also Sean de Wolski

Sign in to comment.

More Answers (0)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!