This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Simulink Real-Time Functions - By Category

Alphabetical List By Category

System Configuration

Development Computer Setup

mexBuild MEX function from C/C++ or Fortran source code
slrtgetCCCompiler settings for development computer environment
slrtsetCCCompiler settings for development computer environment

Target Computer Setup

Real-Time Application (SimulinkRealTime.target)Represent real-time application and target computer status
Open FTP (SimulinkRealTime.openFTP)Provide FTP access to folders and files on target computer
slrtInterface for managing target computer
slrtexplrConfigure target computer and real-time application for execution
slrttestTest Simulink Real-Time installation
SimulinkRealTime.addTargetAdd target computer interface
SimulinkRealTime.removeTargetRemove target computer interface
SimulinkRealTime.targetSettings.setAsDefaultTargetSet specific target computer as default target computer
SimulinkRealTime.utils.minimumSampleTimeDetermine the minimum sample time at which a model can run
SimulinkRealTime.utils.TETMonitor.openDisplay TET monitor
SimulinkRealTime.getTargetSettingsGet target computer environment settings
SimulinkRealTime.getSupportInfoDiagnostic information to troubleshoot configuration issues
SimulinkRealTime.target.getDiskSpaceReturn free space and total space on the drive, in bytes
SimulinkRealTime.target.getPCIInfoReturn information about PCI boards installed in target computer
SimulinkRealTime.utils.getConsoleLogRetrieve the log that the kernel writes to the target computer screen

Model Preparation for Real-Time Execution

Parameters and Procedures

Application (SimulinkRealTime.Application)Represent application files on development computer
SimulinkRealTime.Application.updateRootLevelInportDataReplace external input data in a real-time application with new input data

I/O Connectivity

Displays and Logging

Real-Time ApplicationRepresent real-time application and target computer status
Profiler DataContains data returned from profiler
SimulinkRealTime.utils.getFileScopeDataRead real-time Scope file format data
SimulinkRealTime.utils.bytes2fileGenerate file for use by real-time From File block
SimulinkRealTime.target.startProfilerStart profiling service on target computer
SimulinkRealTime.target.stopProfilerStop profiling service on target computer
SimulinkRealTime.target.getProfilerDataRetrieve profile data object
SimulinkRealTime.target.resetProfilerReset profiling service state to Ready
SimulinkRealTime.target.importLogDataImport buffered logging data to the active session of the Simulation Data Inspector

Target Management

Target I/O Management
SimulinkRealTime.utils.getFileScopeDataRead real-time Scope file format data
SimulinkRealTime.utils.bytes2fileGenerate file for use by real-time From File block

Communication Protocols

EtherCAT

SimulinkRealTime.etherCAT.filterNotificationsDisplay EtherCAT notifications in human-readable format

Ethernet

macaddrConvert character vector or string scalar MAC address to vector-based address

IEEE 1588 Precision Time Protocol

macaddrConvert character vector or string scalar MAC address to vector-based address
SimulinkRealTime.utils.getTargetSystemTimeGets the current value of the target computer system clock
SimulinkRealTime.utils.setTargetSystemTimeSets the value of the target computer system clock

TCP

macaddrConvert character vector or string scalar MAC address to vector-based address

Real-Time UDP

macaddrConvert character vector or string scalar MAC address to vector-based address

Real-Time Application Creation and Execution

Build Real-Time Application

Application (SimulinkRealTime.Application)Represent application files on development computer
slrtexplrConfigure target computer and real-time application for execution
SimulinkRealTime.Application.updateRootLevelInportDataReplace external input data in a real-time application with new input data

Run Real-Time Application

Real-Time Application (SimulinkRealTime.target)Represent real-time application and target computer status
Crash Info (SimulinkRealTime.crashInfo)Retrieve information about a target computer CPU exception
Application (SimulinkRealTime.Application)Represent application files on development computer
slrtInterface for managing target computer
slrtexplrConfigure target computer and real-time application for execution
SimulinkRealTime.target.viewTargetScreenOpen real-time window on development computer
SimulinkRealTime.Application.updateRootLevelInportDataReplace external input data in a real-time application with new input data

Control and Instrumentation

Signal Monitoring and Tracing with Simulink Real-Time Explorer

slrtexplrConfigure target computer and real-time application for execution
SimulinkRealTime.utils.createInstrumentationModelConstruct skeleton for user interface model

Signal Logging with Simulink Real-Time Explorer

slrtexplrConfigure target computer and real-time application for execution
SimulinkRealTime.utils.getFileScopeDataRead real-time Scope file format data
SimulinkRealTime.utils.bytes2fileGenerate file for use by real-time From File block

Parameter Tuning with Simulink Real-Time Explorer

slrtexplrConfigure target computer and real-time application for execution

Real-Time Application Instruments with Simulink Real-Time Explorer

slrtexplrConfigure target computer and real-time application for execution

Control and Instrumentation with MATLAB

System Configuration with MATLAB

Real-Time Application (SimulinkRealTime.target)Represent real-time application and target computer status
Open FTP (SimulinkRealTime.openFTP)Provide FTP access to folders and files on target computer
slrtInterface for managing target computer
slrtgetCCCompiler settings for development computer environment
slrtsetCCCompiler settings for development computer environment
SimulinkRealTime.createBootImageCreate Simulink Real-Time boot disk or DOS Loader files
slrtpingtargetTest communication between development and target computers
SimulinkRealTime.pingTargetTest communication between development and target computers
SimulinkRealTime.getTargetSettingsGet target computer environment settings
SimulinkRealTime.getSupportInfoDiagnostic information to troubleshoot configuration issues
SimulinkRealTime.targetSettings.setAsDefaultTargetSet specific target computer as default target computer
SimulinkRealTime.target.getDiskSpaceReturn free space and total space on the drive, in bytes
SimulinkRealTime.target.getPCIInfoReturn information about PCI boards installed in target computer
macaddrConvert character vector or string scalar MAC address to vector-based address

Creation and Execution of Real-Time Application with MATLAB

Real-Time Application (SimulinkRealTime.target)Represent real-time application and target computer status
Crash Info (SimulinkRealTime.crashInfo)Retrieve information about a target computer CPU exception
Application (SimulinkRealTime.Application)Represent application files on development computer
rtwbuildBuild generated code from a model
slrtInterface for managing target computer
SimulinkRealTime.createBootImageCreate Simulink Real-Time boot disk or DOS Loader files
slrtpingtargetTest communication between development and target computers
SimulinkRealTime.target.viewTargetScreenOpen real-time window on development computer
SimulinkRealTime.Application.updateRootLevelInportDataReplace external input data in a real-time application with new input data

Signal Monitoring and Tracing with MATLAB

Real-Time Application (SimulinkRealTime.target)Represent real-time application and target computer status
Real-Time Host ScopeDisplay time-domain data on development computer screen
Real-Time Target ScopeDisplay time-domain data on target computer
SimulinkRealTime.target.addscopeCreate a scope of specified type
SimulinkRealTime.target.getscopeReturn scope identified by scope number
SimulinkRealTime.target.remscopeRemove scope from target computer

Signal Logging with MATLAB

Real-Time Application (SimulinkRealTime.target)Represent real-time application and target computer status
Real-Time File ScopeRecord time-domain data on target computer file system
File System (SimulinkRealTime.fileSystem)Manage folders and files on target computer
SimulinkRealTime.target.addscopeCreate a scope of specified type
SimulinkRealTime.target.getscopeReturn scope identified by scope number
SimulinkRealTime.target.remscopeRemove scope from target computer
SimulinkRealTime.utils.getFileScopeDataRead real-time Scope file format data
SimulinkRealTime.utils.bytes2fileGenerate file for use by real-time From File block

Parameter Tuning with MATLAB

Real-Time Application (SimulinkRealTime.target)Represent real-time application and target computer status
slrtInterface for managing target computer
SimulinkRealTime.target.viewTargetScreenOpen real-time window on development computer

Standalone Operation

Standalone Target Computer Setup

slrtexplrConfigure target computer and real-time application for execution

Export and Run Explorer Configuration as Standalone Executable

slrtexplrConfigure target computer and real-time application for execution

Deploy MATLAB Application as Standalone Executable

mcrinstallerDisplay version and location information for MATLAB Runtime installer corresponding to current platform
mcrversionDetermine version of installed MATLAB Runtime
mccCompile MATLAB functions for deployment

Performance Optimization

Profiling and Optimization

Real-Time ApplicationRepresent real-time application and target computer status
Profiler DataContains data returned from profiler
SimulinkRealTime.target.startProfilerStart profiling service on target computer
SimulinkRealTime.target.stopProfilerStop profiling service on target computer
SimulinkRealTime.target.getProfilerDataRetrieve profile data object
SimulinkRealTime.target.importLogDataImport buffered logging data to the active session of the Simulation Data Inspector
SimulinkRealTime.target.resetProfilerReset profiling service state to Ready
SimulinkRealTime.utils.minimumSampleTimeDetermine the minimum sample time at which a model can run
SimulinkRealTime.utils.TETMonitor.openDisplay TET monitor
plotGenerate profiler plot
reportGenerate profiler report

Concurrent Execution with Multicore Target Computer

SimulinkRealTime.utils.minimumSampleTimeDetermine the minimum sample time at which a model can run
SimulinkRealTime.utils.TETMonitor.openDisplay TET monitor