Main Content

Editing Mode

Option to manage license check-out for Simscape add-on products

Model Configuration Pane: Simscape

Description

The Editing Mode parameter allows you manage license check-out for Simscape™ add-on products: Simscape Battery™, Simscape Driveline™, Simscape Electrical™, Simscape Fluids™, and Simscape Multibody™.

In Restricted mode, you can open, simulate, and save models that contain blocks from Simscape add-on products without checking out add-on product licenses, as long as the products are installed on your machine.

Settings

Full (default) | Restricted

Set the editing mode of the model to either Full or Restricted.

Full

Sets the editing mode of the model to Full. In this mode, you can make any modifications to the model.

When you open a model in Full mode, the license manager checks out all the add-on product licenses for the blocks present in the model.

When you switch from Restricted to Full mode, the license manager checks whether the required add-on product licenses are available and checks them out. If some of the add-on product licenses are not available, the license manager issues an error and the model stays in Restricted mode.

Restricted

Sets the editing mode of the model to Restricted. In this mode, you can simulate the model, generate code, and make limited modifications.

When you open a model in Restricted mode, the license manager does not check out the add-on product licenses.

When you switch from Full to Restricted mode, all the add-on product licenses for the blocks present in the model remain checked out until the end of the MATLAB® session.

Recommended Settings

ApplicationSetting
DebuggingFull
TraceabilityNo Impact
EfficiencyNo Impact
Safety precautionNo Impact

Programmatic Use

Parameter: EditingMode
Type: character vector | string scalar
Value: 'Full' | 'Restricted'
Default: 'Full'

Version History

Introduced in R2007a