photo

Youssef Barakat


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
92,454
of 300,352

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 20,928

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,212

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


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...

4 years ago | 1 answer | 0

1

answer

Question


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...

4 years ago | 1 answer | 0

1

answer