Main Content

plcdispextmodedata

Display the external mode logging data

Description

plcdispextmodedata(filename) displays logging data information contained in the filename MAT-file on the MATLAB® command window. The Industrial Communication Toolbox™ is required to run the external mode visualization.

example

Examples

collapse all

The following example reads the logging data information stored in plc_log_data.mat and displays it on the command window.

plcdispextmodedata('plc_log_data.mat')
Log data:
#1: Y1: LREAL
#2: Y2: LREAL
#3: Y3: LREAL
#4: io_Chart.out: DINT
#5: io_Chart.ChartMode: DINT
#6: io_Chart.State_A: BOOL
#7: io_Chart.State_B: BOOL
#8: io_Chart.State_C: BOOL
#9: io_Chart.State_D: BOOL
#10: io_Chart.is_active_c3_Subsystem: USINT
#11: io_MATLABFunction.y: LREAL
#12: io_MATLABFunction.i: LREAL
#13: io_S1.y: LREAL
#14: io_S1.UnitDelay_DSTATE: LREAL
#15: i1_S1.y: LREAL
#16: i1_S1.UnitDelay_DSTATE: LREAL

Input Arguments

collapse all

Name of the MAT-file containing the logging information.

Version History

Introduced in R2018a