Enable Signal Logging

The following procedure explains how to enable signal logging for any model. For example, try the procedure with the sf_semantics_hotel_checkin model, which uses a chart to simulate a hotel check-in process. To open the model, click sf_semantics_hotel_checkin or type sf_semantics_hotel_checkin at the MATLAB® command prompt.

  1. Open the Model Configuration Parameters dialog box.

  2. Select Data Import/Export.

  3. In the Signals pane, select the Signal logging check box to enable logging for the chart.

    Signal logging is enabled by default for models and charts. To disable logging, clear the check box.

  4. Optionally, specify a custom name for the signal logging object.

    The default name is logsout. Using this object, you can access the logging data in a MATLAB workspace variable.

  5. Click OK.

Was this topic helpful?