The example model "sldrtex_canio" shows how to transfer data through CAN bus. The model sends data within one computer, from one CAN channel to another. The two CAN channels can be either
The example model "sldrtex_counter" shows how to measure input signal frequency using Simulink Desktop Real-Time™. The measured signal is connected to the counter input of your data
The example model "sldrtex_streamio" shows how to transfer data through UDP communication protocol using ASCII encoding. The model sends data within one computer, from one UDP port to
The example model "sldrtex_packetio" shows how to transfer data through UDP communication protocol using binary encoding. The model sends data within one computer, from one UDP port to
The example model "sldrtex_controller" shows how to build a simple closed-loop real-time controller using Simulink Desktop Real-Time™. The output of the controlled plant is connected to
The example model "sldrtex_siggen" shows how to produce an analog output signal using Simulink Desktop Real-Time™. Because analog output typically requires less configuration and is
The example model "sldrtex_vdp" shows a real-time version of the Simulink® Van der Pol simulation model. This model does not need any external signals, so it does not need any data
The example model "sldrtex_pwmmeasure" shows how to measure PWM signal frequency and duty using Simulink Desktop Real-Time™. The measured signal is connected to gate pins of two counter
The example model "sldrtex_filter" shows a real-time filter built using DSP System Toolbox™ and Simulink Desktop Real-Time™. The unfiltered signal is acquired by the analog input, passed
The example model "sldrtex_canmessage" shows how to transfer data through CAN bus, utilizing the CAN_MESSAGE data type and the CAN Pack and CAN Unpack blocks available in Vehicle Network
The example model "sldrtex_dashboard" shows a real-time model of a water tank controlled by dashboard controls. You can change the inputs to the plant using the knobs and observe the
The example model "sldrtex_profiling" shows how to analyze model execution performance in Simulink Desktop Real-Time™. The example is a multirate multi-tasking model that performs a
Perform a frequency-response test of the model ex_slrt_slt_osc (matlab:open_system(docpath(fullfile(docroot, 'toolbox', 'xpc', 'examples', 'ex_slrt_slt_osc')))).
Create a Simulink® Real-Time™ Explorer instrument panel for the xpctank model. The instrument panel contains the following instruments:
Use Simulation Data Inspector (SDI) to log signal and task execution time (TET) data from the real-time application. You can select signals for display from models referenced at arbitrary
A data acquisition target computer that transmits timestamped data to a second target computer that analyzes the data.
Use Performance Advisor to detect blocks and parameter settings that can reduce performance. It determines the lower limit on sample time that does not produce a CPU overload.