Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.2 - Português

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

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Ajuda Scilab >> Ferramentas de Demonstração > demo_mdialog

demo_mdialog

create a dialog box

Calling Sequence

resp = demo_mdialog(fil)

Description

The function demo_mdialog create a dialog box. It takes as argument a binary file. This file is built by a .sce file written like below. It shall contain the variables 'titl', the title a the dialog box, 'namevar', the name of the fields to fill, and 'value', the values written by default. After this, these three variables shall be saved in the binary file. The use of demo_mdialog shall be preceded by the execution of the .sce associated. The function demo_mdialog returns 'resp', the values chosen by the user.

Examples

exec('SCI/demos/control/pid/pid_dial_4.sce');
[defv]=demo_mdialog('SCI/demos/control/pid/pid_dial_4.bin');  
  
if defv==[] then warning('Demo stops!');return;end

See Also

  • demo_choose — create a dialog box for the choice of options
  • x_mdialog — Dialog for interactive vector/matrix input.
  • x_dialog — Dialog for interactive multi-lines input.

Authors

  • G.H
<< demo_function_choice Ferramentas de Demonstração demo_message >>

Copyright (c) 2022-2024 (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 May 12 11:45:28 CEST 2011