How to display space Key in MATLAB App Designer
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
NAVNEET NAYAN
le 23 Août 2023
Commenté : NAVNEET NAYAN
le 24 Août 2023
I have made a basic GUI that displays videos of alphabets. It's basic look is attached here named as GUI_MATLAB. I am facing a problem. Videos corresponding to the alphabets are getting displayed properly. But, when I provide two alphabets with a space bar between them, only video of the 1st alphabet gets displayed. I know this is happening because it is not getting any input video or input image for space bar.
Can any one suggest me something how to solve this problem or, how to provide image/video input for space bar?
2 commentaires
Kevin Holly
le 23 Août 2023
How are you dusplaying videos that correspond to alphabets?
Are you reading from
InputTextEditField.Value
and then reading and displaying the appropriate video file that you have stored on your computer?
Did you want to play a video based on each character within the edit field?
Réponse acceptée
Walter Roberson
le 23 Août 2023
v = char(InputTextEditField.Value);
v(isspace(v)) = [];
Now use the characters in v.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!