Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - 日本語

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 help >> Scilab > add_demo

add_demo

デモリストにエントリを追加

呼出し手順

add_demo(title,path)

パラメータ

title

文字列, デモのタイトル

path

文字列, デモに関連するScilabスクリプトのパス

説明

この関数は,デモリストに新規エントリを追加します. デモはScilabスクリプトファイルにより実行されます. 指定したtitleがすでにデモリストに存在し, 同じファイルに関連する場合,何も行われません. この関数はファイルが存在するかどうか確認します.

//簡単なデモスクリプトを作成
path=TMPDIR+'/foo.sce';
mputl('disp Hello',path)
add_demo('My first demo',path)
//このデモが"Demos"メニューにより実行できるようになりました.

参照

作者

Serge Steer , INRIA

<< abort Scilab argn >>

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:
Wed Oct 05 12:12:31 CEST 2011