rmidata.default

Specify default storage location of requirements traceability data for new models

Syntax

rmidata.default(storage_setting)

Description

rmidata.default(storage_setting) specifies whether requirements traceability data for new Simulink® models is stored in the model file or in an external .req file. This function does not affect models that already have saved requirements traceability data.

Input Arguments

storage_setting

String that specifies where requirements traceability data for a model is stored:

  • 'internal' — Store requirements traceability data in the model file.

  • 'external' — Store requirements traceability data in a separate file. The default name for this file is model_name.req.

Examples

Specify to store requirements traceability data in the model file:

rmidata.default('internal');

Specify to store requirements traceability data in an external .req file:

rmidata.default('external);

Alternatives

To set the storage location from the Simulink Editor:

  1. Select Analysis > Requirements > Settings.

  2. Select the Storage tab.

  3. Select one of the following options:

    • Store internally (embedded in a model file)

    • Store externally (in a separate *.req file)

Was this topic helpful?