Effacer les filtres
Effacer les filtres

How can I select number with dialog box?

1 vue (au cours des 30 derniers jours)
Francesco
Francesco le 20 Mar 2014
Modifié(e) : Francesco le 20 Mar 2014
I have this code. But I want to select with a dialog box the number. I don't want to enter in the code and change the number. So, for example I would like to use this command:
dati = inputdlg({'**************** Insert number ****************'})
dati_1 = dati{1};
How can I do it?

Réponse acceptée

nl2605
nl2605 le 20 Mar 2014
You have to use str2num to change entered value to number. You can use that number then.

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by