image thumbnail

Simulink Keyboard Input v2

version 1.2.0.0 (10.9 KB) by Emanuele Ruffaldi
Allows to read input keyboard during Simulink simulation

5.2K Downloads

Updated 02 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 (2021). 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!