Real-Time Blockset 7.1 for Simulink 1.0
File ID: 80019
Real-Time Blockset 7.1 for Simulink 1.0
File Size: 10.0 KB
Real-Time Blockset 7.1 for Simulink 1.0 Description
Description: This new Simulink block allows the execution of Simulink models in real time. The blockset is actually composed by only one block, that has been realized using an S-function written in C++ language.
This blockset is based on the simple concept that, to make the Simulink run with a real-time temporisation, the cycle time (the time that Simulink needs to calculate a simulation step, that is function of the hardware and the OS in which Simulink is running) should be lower then the desired simulation step. If this assumption is not valid, no real-time simulation is possible, whichever is the applied scheduling method.
Obviously, this statement is not completely valid, for example if we suppose to work with a real-time OS, in which the scheduling can be fully controlled. Anyway, the Windows OS is not in this case, because it's a multitasking environment with a partial controllable scheduling approach. The only controllable feature of Windows is the possibility of assigning a greater priority to the running process. In this blockset, a block allows the selection of the preferred priority to assign to Simulink.
This blockset simply hold the execution of the Simulink simulation attached to the time flow, in the sense that, if the cycle time is lower then the simulation step, this block wait for the time needed to fill the simulation step, leaving the remaining CPU time to all the Windows Process that need it. This concept is very simple but effective.
Respect to the other products, the RT blockset doesn't use a separate OS or runs a RT kernel to provide an RT simulation. Another feature that may let you prefer this blockset is the lack of limitation that this block impose to the use of Win32 instruction in your C/C++ S-functions. This blockset may virtually cooperate with any Win32 or DirectX instruction. Personally, I tested the RTW version of this block (that will be soon available) even on WinNT Embedded, with interesting results.
The OS where this solution was first developed is Windows NT 4.0, then this blockset is based on the Win32 library timing functions and process control functions. The actual released blockset has been realized only for the Windows platform and has been tested on a Win2000 and WinME OS with different speed processors.
This blockset can be compiled also with Real Time Workshop, offering a greater protection respect to all other process than a Simulink model that runs inside Windows NT can guarantee.
To see more about this blockset and download the previous version for Matlab 5.3, 6.0 and 6.5, visit the following web page:
http://digilander.iol.it/LeoDaga, click on the "RT Blockset" link on the right of the page.
This page contains also much more informations about the use of the RT block.
The library is already on a tested stage, but debugging information from new users will be appreciated.
In the image, the behavior of the simulation during a delaying OS operation.
Related: Solution, results, interesting, Winnt, Embedded, developed, Library
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB
|More Similar Code|
The RealTime Pacer block slows down ("paces") simulation time so that it synchronizes with real elapsed time. The degree of slowdown is controllable via a Speedup parameter.
1) The block is implemented using an M S-function, so it works on any supported Simulink platform. It does not support code generation.
2) The block uses the MATLAB PAUSE function to slow down the simulation. The PAUSE command gives up the...
Real Time Analyzer uses your sound card input and analyze the frequency response.
This application works like a real spectrum analyzer. It uses the line / mic input of the sound card and is great for testing speaker response.
Real-time network communication utility for the office environment, including channels-based chat, shared whiteboard and instant messaging. It is intended to be used in small office or home office (SOHO) local networks and it does not require a...
The Comedi Toolbox for Real-Time Workshop is designed for use with Linux based Real-Time Workshop targets, such as the LNX target. It provides four Simulink blocks, analogue and digital I/O, which communicate with the installed I/O devices through...
Real time stats from StatPress for your WordPress Dashboard - Lite-Version - much smaller and faster. Based on the original StatPress Widget by Daniele Lippi.
* much smaller and faster - only the key facts
LiveMessage is a real-time Web-based editor for I18N resource bundles. It can be integrated with many popular Web frameworks and lets you edit localized messages without directly modifying the properties files and without restarting the application.
A powerful real-time web analytics plugin for WordPress. Spy your visitors and track what they do on your website.
Supports both InnoDB and MyISAM (autodetect)
Tracks Google Plus One and Facebook Like...
Free component for real time access to a hardware interface containing digital ports and analog inputs and outputs via digital-to-analog and analog-to-digital converters. Full source is included for educational purposes. Works with the range of PC...
Sency is a real-time search engine. This free service differs from Google in that it's not really a web search engine. It's more of a conversation search engine. The interface mimics a "dressed up Google", but the functionality couldn't...
- creates a real-time clock (using a timer object), which runs smoothly in the background while the user continues with her daily ML chores.
- all aspecects of the display (geometry) are user-definable.
- the clock can be stopped and...
|User Review for Real-Time Blockset 7.1 for Simulink