Home > Objects > iFunc_subclasses > @iFunc_McCode > dialog.m

iFit/dialog

PURPOSE ^

run a McCode instrument model and request instrument parameters in a dialogue

SYNOPSIS ^

function [v,m] = dialog(m)

DESCRIPTION ^

 run a McCode instrument model and request instrument parameters in a dialogue
 
 You can change the simulation options and parameters from the dialogue shown.
 Then, close the window or select the 'OK' context menu item (right-click) to
 start the McDode calculation.
 The numeric input instrument parameters can be given as vectors (between [ ... ])
 in order to  start a scan calculation.

 To abort, select the CANCEL context menu item (right-click), or press Ctrl-C
 during the calculation.

 input:
   m: an McCode instrument model (iFunc)
 output:
   v: monitor values from the simulation (iData array)
   m: updated model (iFunc, optional)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 27-Nov-2018 10:56:24 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1