Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.0.0 - Русский


head_comments

выводит на экран комментарии в начале Scilab-функции

Синтаксис

head_comments(fname)

Аргументы

fname

символьная строка, имя функции.

Описание

head_comments(fname) отображает комментарии заголовка функции, то есть первый блок комментариев, следующий за строкой «функция» в определении функции.

большинство предопределённых Scilab-функций не имеет начальных комментариев.

Примеры

head_comments logspace
edit("logspace",1)
--> head_comments logspace
function [y] = logspace(d1,d2,n)
 Geometrical series of numbers in [10^d1, 10^d2].
 logspace(d1,d2) generates a row vector of 50 logarithmically
 equally spaced values between 10^d1 and 10^d2.
 If d2=%pi, then the points are between 10^d1 and pi.
 logspace(d1, d2, n) generates n values.

Смотрите также

  • help — queries and displays help pages in the Scilab help browser
  • help_from_sci — Generate help files and demo files from the head comments section of a .sci source file.

История

ВерсияОписание
5.0 Second input argument %path removed.
Report an issue
<< apropos Online help management help >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Mar 07 09:29:08 CET 2023