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

 Respuesta aceptada

per isakson
per isakson el 2 de Sept. de 2014

0 votos

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 comentarios

XAXRXTX
XAXRXTX el 2 de Sept. de 2014
thank you for your response,
is there another method for a new version of matlab ????????
Sean de Wolski
Sean de Wolski el 2 de Sept. de 2014
This is still the correct way...
XAXRXTX
XAXRXTX el 2 de Sept. de 2014
thank a lot per isakson for your help and time and also Sean de Wolski

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Entering Commands en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Sept. de 2014

Comentada:

el 2 de Sept. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by