how to take integer value in mysql to matlab ??
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
dewi hastuti
le 17 Mai 2018
Commenté : dewi hastuti
le 18 Mai 2018
Dear all, I wish take integer value for is the price of the stuff in mysql.
set(handles.text4,'String',mydata(1,2));
set(handles.text10,'string',mydata(1,1));
for example, mydata(1,1) is the price of the stuff in mysql
Thanks,
Dewi
0 commentaires
Réponse acceptée
Geoff Hayes
le 17 Mai 2018
Dewi - if mydata(1,1) is an integer, then convert it to a string with num2str and set that string in your text control
set(handles.text4,'String',num2str(mydata(1,2)));
set(handles.text10,'string',num2str(mydata(1,1)));
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Database Toolbox 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!