Hello is there a way have an editfield where uyou are able to put numerical and text ?
1 view (last 30 days)
Show older comments
% Value changed function: Fonction
function FonctionValueChanged(app, event)
0 Comments
Answers (1)
Matt J
on 15 Apr 2022
Edited: Matt J
on 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 Comments
Matt J
on 17 Apr 2022
You're welcome, but if your question is resolved, please Accept-click the answer.
See Also
Categories
Find more on Text Data Preparation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!