How to properly handle objects within level-2 Simulink S-Functions
Mostra commenti meno recenti
I'm attempting to use a level-2 S function to handle serial read/write to and from a device.
I need some help with two things:
- How do I handle dialogue parameter inputs? I'd like to input the specified com port.
- How can I create a serialport object that persists throughout an entire simulation? I'd like to avoid opening and closing the commport each iteration.
Thanks!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su System Configuration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!