Effacer les filtres
Effacer les filtres

Simulink Desktop real-time, external mode, serial read, OSX

1 vue (au cours des 30 derniers jours)
Gianluca
Gianluca le 1 Fév 2016
Modifié(e) : Gianluca le 1 Fév 2016
Hi, I'm trying to implement a custom s function to read packets sent to a serial interface on my Mac. The application has strict real time constraints and so I need to use the real time kernel module and External mode. I read from the Documentation Simulink Desktop Real-Time User Guide that "Software you use to write I/O drivers must not make calls to the operating system API." I was wondering if libraries like stdio.h, unistd.h,fcntl.h, errno.h, termios.h, string.h, sys/ioctl.h, which I use to read the serial input, belong to those that can't be used. Thank you.

Réponses (0)

Catégories

En savoir plus sur Get Started with Simulink Desktop Real-Time dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by