photo

Youssef Barakat


Last seen: mehr als ein Jahr vor Aktiv seit 2021

Followers: 0   Following: 0

Statistik

  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


This is the first part of my program, however I'd like the whole program to stop running and end, if , the choice is 'yes'. Because currently the code just keeps on running even after loading the saved model.
choice = questdlg('Would you like to load a saved spatial model?','Spatial Model','Yes','No, create new spatial model','No, crea...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I keep on rejecting the value of input until the value inputted is greater than 0? Like how can they loop separately until the correct value is input?
a=input('Please enter the X co-ordinate of the bottom left hand corner of the space: '); dataX=a; if dataX < 0 disp('An i...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort