Simulink Keyboard Input v2

Allows to read input keyboard during Simulink simulation
6.7K Downloads
Updated 2 Dec 2016

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Improvements respect original "Simulink Keyboard Input":
- second output for triggering key arrival (for Subsystems and Char)
- inherited sampling time
- close window on close
- handle of window as state so faster response
- Level-2 S-Function

Cite As

Emanuele Ruffaldi (2024). Simulink Keyboard Input v2 (https://www.mathworks.com/matlabcentral/fileexchange/24216-simulink-keyboard-input-v2), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Simulink Keyboard Input

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Updated to R2016b with the support for non numeric handles

1.0.0.0