Simulink Keyboard Input v2
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 (2023). Simulink Keyboard Input v2 (https://www.mathworks.com/matlabcentral/fileexchange/24216-simulink-keyboard-input-v2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Simulink > Modeling >
- MATLAB > Environment and Settings > Desktop >
- Simulink > Simulation > Prepare Model Inputs and Outputs >
Tags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.