Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
Mark Unrath
Mark Unrath 2019 年 5 月 28 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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).

回答 (0 件)

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by