MATLAB 帮助中心
Display the external mode logging data
plcdispextmodedata(filename)
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.
filename
example
collapse all
The following example reads the logging data information stored in plc_log_data.mat and displays it on the command window.
plc_log_data.mat
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
Name of the MAT-file containing the logging information.
Introduced in R2018a
plcrunextmode | plcgeneratecode
plcrunextmode
plcgeneratecode
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处