Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Simulink Real-Time Functions

Alphabetical List By Category

System Configuration

Development and Target Computer Setup

Real-Time Application Represent real-time application and target computer status
slrt Interface for managing target computer
slrtexplr Configure target computer and real-time application for execution
slrttest Test Simulink Real-Time installation
SimulinkRealTime.addTarget Add target computer interface
SimulinkRealTime.removeTarget Remove target computer interface
SimulinkRealTime.targetSettings.setAsDefaultTarget Set specific target computer as default target computer
SimulinkRealTime.utils.minimumSampleTime Determine the minimum sample time at which a model can run
SimulinkRealTime.getTargetSettings Get target computer environment settings
SimulinkRealTime.getSupportInfo Diagnostic information to troubleshoot configuration issues
SimulinkRealTime.target Interface for managing target computer
SimulinkRealTime.target.getPCIInfo Return information about PCI boards installed in target computer
SimulinkRealTime.utils.getConsoleLog Retrieve the log that the kernel writes to the target computer screen

Model Preparation

Preparation for Real-Time Execution

Application Represent application files on development computer
SimulinkRealTime.Application Create object that represents application files on development computer
SimulinkRealTime.Application.updateRootLevelInportData Replace inport data in a real-time application with new inport data

I/O Modules

Displays and Logging

SimulinkRealTime.utils.getFileScopeData Read real-time Scope file format data
SimulinkRealTime.utils.bytes2file Generate file for use by real-time From File block

Target Management

Target I/O Management
SimulinkRealTime.utils.getFileScopeData Read real-time Scope file format data
SimulinkRealTime.utils.bytes2file Generate file for use by real-time From File block

Communication Protocols

EtherCAT

SimulinkRealTime.etherCAT.filterNotifications Display output from EtherCAT Get Notifications block in human-readable format

Precision Time Protocol

SimulinkRealTime.utils.getTargetSystemTime Gets the current value of the target computer system clock
SimulinkRealTime.utils.setTargetSystemTime Sets the value of the target computer system clock

RS-232

fc422mexcalcbits Calculate parameter values for Fastcom 422/2-PCI board
macaddr Convert character vector-based MAC address to vector-based address

External Code Integration

Custom I/O Drivers

Custom Driver
slrtdrivertool Construct skeleton for custom driver
Interrupt Support
PostHook Run after return from interrupt service routine function-call subsystem or after sending wake-up call to model thread
PreHook Run just before the interrupt service routine
Start Run as the last item in mdlStart
Stop Run at the beginning of mdlTerminate
Simulink Real-Time Driver Authoring Tool
slrtdrivertool Construct skeleton for custom driver

Real-Time Application Creation and Execution

Build Real-Time Application

Application Represent application files on development computer
slrtexplr Configure target computer and real-time application for execution
SimulinkRealTime.Application Create object that represents application files on development computer
SimulinkRealTime.Application.updateRootLevelInportData Replace inport data in a real-time application with new inport data

Run Real-Time Application

Real-Time Application Represent real-time application and target computer status
Crash Info Retrieve information about a target computer CPU exception
Application Represent application files on development computer
slrt Interface for managing target computer
slrtexplr Configure target computer and real-time application for execution
SimulinkRealTime.target Interface for managing target computer
SimulinkRealTime.target.viewTargetScreen Open real-time window on development computer
SimulinkRealTime.Application Create object that represents application files on development computer
SimulinkRealTime.Application.updateRootLevelInportData Replace inport data in a real-time application with new inport data

Control and Instrumentation

Signal Monitoring and Tracing with Simulink Real-Time Explorer

slrtexplr Configure target computer and real-time application for execution
SimulinkRealTime.utils.createInstrumentationModel Construct skeleton for user interface model

Signal Logging with Simulink Real-Time Explorer

slrtexplr Configure target computer and real-time application for execution

Parameter Tuning with Simulink Real-Time Explorer

slrtexplr Configure target computer and real-time application for execution

Real-Time Application Instruments with Simulink Real-Time Explorer

slrtexplr Configure target computer and real-time application for execution

Control and Instrumentation with MATLAB

System Configuration with MATLAB

Real-Time Application Represent real-time application and target computer status
slrt Interface for managing target computer
slrtgetCC Compiler settings for development computer environment
slrtsetCC Compiler settings for development computer environment
SimulinkRealTime.createBootImage Create Simulink Real-Time boot disk or DOS Loader files
slrtpingtarget Test communication between development and target computers
SimulinkRealTime.pingTarget Test communication between development and target computers
SimulinkRealTime.getTargetSettings Get target computer environment settings
SimulinkRealTime.getSupportInfo Diagnostic information to troubleshoot configuration issues
SimulinkRealTime.targetSettings.setAsDefaultTarget Set specific target computer as default target computer
SimulinkRealTime.target Interface for managing target computer
SimulinkRealTime.target.getPCIInfo Return information about PCI boards installed in target computer
macaddr Convert character vector-based MAC address to vector-based address

Creation and Execution of Real-Time Application with MATLAB

Real-Time Application Represent real-time application and target computer status
Crash Info Retrieve information about a target computer CPU exception
Application Represent application files on development computer
rtwbuild Initiate build process
slrt Interface for managing target computer
SimulinkRealTime.createBootImage Create Simulink Real-Time boot disk or DOS Loader files
slrtpingtarget Test communication between development and target computers
SimulinkRealTime.target Interface for managing target computer
SimulinkRealTime.target.viewTargetScreen Open real-time window on development computer
SimulinkRealTime.Application Create object that represents application files on development computer
SimulinkRealTime.Application.updateRootLevelInportData Replace inport data in a real-time application with new inport data

Signal Monitoring and Tracing with MATLAB

Real-Time Application Represent real-time application and target computer status
Real-Time Host Scope Display time-domain data on development computer screen
Real-Time Target Scope Display time-domain data on target computer
SimulinkRealTime.target.addscope Create a scope of specified type
SimulinkRealTime.target.getscope Return scope identified by scope number
SimulinkRealTime.target.remscope Remove scope from target computer
SimulinkRealTime.target Interface for managing target computer

Signal Logging with MATLAB

Real-Time Application Represent real-time application and target computer status
Real-Time File Scope Record time-domain data on target computer file system
File System Manage folders and files on target computer
SimulinkRealTime.target.addscope Create a scope of specified type
SimulinkRealTime.target.getscope Return scope identified by scope number
SimulinkRealTime.target.remscope Remove scope from target computer
SimulinkRealTime.target Interface for managing target computer

Parameter Tuning with MATLAB

Real-Time Application Represent real-time application and target computer status
slrt Interface for managing target computer
SimulinkRealTime.target Interface for managing target computer
SimulinkRealTime.target.viewTargetScreen Open real-time window on development computer

Standalone Operation

Standalone Target Computer Setup

slrtexplr Configure target computer and real-time application for execution

Export and Run Explorer Configuration as Standalone Executable

slrtexplr Configure target computer and real-time application for execution

Deploy MATLAB Application as Standalone Executable

mcrinstaller Display version and location information for MATLAB Runtime installer corresponding to current platform
mcrversion Determine version of installed MATLAB Runtime
mcc Compile MATLAB functions for deployment

Performance Optimization

Profiling and Optimization

profile_slrt Collect profiling data
SimulinkRealTime.utils.minimumSampleTime Determine the minimum sample time at which a model can run

Concurrent Execution with Multicore Target Computer

profile_slrt Collect profiling data
SimulinkRealTime.utils.minimumSampleTime Determine the minimum sample time at which a model can run
Was this topic helpful?