Linux Soft Real-Time Target v2.4

版本 1.0.0.0 (16.5 KB) 作者: Dan Bhanderi
Custom Linux target for Real-time Workshop.
2.6K 次下载
更新时间 2008/8/28

查看许可证

The Linux Soft Real-Time Target is a target definition to Real-Time Workshop from Mathworks. The target uses the POSIX real-time clocks to generate periodic signals, to wake the model process at every time step. The process is changed to real-time highest priority defined by the scheduler, and therefore needs root privileges to execute.

The Linux Soft Real-Time Target does not run hard real-time, since the kernel of Linux itself is not preempted by the scheduler. As a consequence, model execution can occasionally be delayed.

A standard Linux kernel preempts every 10 ms. Higher resolution of the task switching, and thereby precision of the model execution, can
be achieved by setting HZ to a different value in asm/param.h, included in the kernel source, and re-compiling the kernel.

To include C S-Functions from other directories place the rtwmakecfg.m file included in this package in the directory of the C S-Function
source file. The C S-Function must be mex'ed in order for Simulink to pass the path to Real-Time Workshop.

引用格式

Dan Bhanderi (2024). Linux Soft Real-Time Target v2.4 (https://www.mathworks.com/matlabcentral/fileexchange/5939-linux-soft-real-time-target-v2-4), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Title mismatch.