Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Mark Unrath
Mark Unrath le 28 Mai 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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).

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by