主要内容

InputSetupDialog

Open Input Setup dialog box to edit inputs

    Description

    [newmodel, OK] = InputSetupDialog(oldmodel) opens the Input Setup dialog box, where you can edit the oldmodel model inputs: names, symbols, and ranges.

    [newtestplan, OK] = InputSetupDialog(oldtestplan) opens the Input Setup dialog box, where you can edit the oldtestplan test plan inputs: names, symbols, and ranges.

    Input Arguments

    collapse all

    Input model that is being updated using Input Setup Dialog, specified as a mbcmodel.model object.

    Input test plan that is being updated using Input Setup Dialog, specified as a mbcmodel.testplan object.

    Changes to make in dialog box, specified as either false or true.

    • If you click Cancel to close the dialog box, this argument is set to OK = false and newmodel = oldmodel.

    • If you click OK to close the dialog box, this argument is OK = true and newmodel is your new chosen model setup. The new model is refitted when you click OK.

    Output Arguments

    collapse all

    Output model with inputs set up using Input Setup Dialog, returned as a mbcmodel.model object.

    Output test plan with inputs set up using Input Setup Dialog, returned as a mbcmodel.testplan object.

    Version History

    Introduced in R2007a