Simulink Keyboard Input v2

Allows to read input keyboard during Simulink simulation
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 (, MATLAB Central File Exchange. Retrieved .

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

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

Updated to R2016b with the support for non numeric handles