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

Change language to:
English - Français - 日本語 - Português -

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Справка Scilab >> Функции > head_comments

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 — on-line help command
  • 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
<< getd Функции macr2tree >>

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:
Thu Feb 14 15:05:27 CET 2019