Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

"help" does not display all help comments in my user functions with R2019a. Works ok in R2016a.

1 visualización (últimos 30 días)
Typing "help" in the command line does not display all help lines in my code. For instance:
>> help plotxy
plotxy is a function.
h = plotxy(xydata, varargin)
for this function:
function h = plotxy(xydata, varargin)
% plotxy: plots XY data (Nx2 format)
%
% Syntax:
% plotxy(xydata);
%
% Inputs:
% xydata: Nx2 array of coordinates
%
% Optional inputs:
% same as 'plot' function (e.g. symbol, etc)
%
% Output:
% h: Handle to plotted data (return value of plot())
if (nargin < 1)
error('plotxy: invalid number of arguments');
end;
h = plot(xydata(:,1),xydata(:,2),varargin{:});
This is in R2019a. Works in 2016a (and all previous versions).

Respuestas (0)

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by