Hello is there a way have an editfield where uyou are able to put numerical and text ?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
% Value changed function: Fonction
function FonctionValueChanged(app, event)
0 Commenti
Risposte (1)
Matt J
il 15 Apr 2022
Modificato: Matt J
il 15 Apr 2022
An editfield can only store its data as text, but if text containing numbers is entered, you can easily convert it to an actual numeric value using str2double().
str2double('21.5')
2 Commenti
Matt J
il 17 Apr 2022
You're welcome, but if your question is resolved, please Accept-click the answer.
Vedere anche
Categorie
Scopri di più su Text Data Preparation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!