How to ask a user to select an option in Matlab? Thank You.
- From: "Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com>
- Date: Thu, 8 Sep 2005 12:21:28 -0400
Hello,
I am asking to the user to select an option:
disp('1. Option 1');
disp('2. Option 2');
answer = input('Choose an option: ');
I don't want anything to happen while the user doesn't choose 1 or 2.
However I don't want to keep printing the text.
Is this possible?
How can I do this?
I am using Matlab 7.04 SP2.
Thank You,
Miguel
.
- Follow-Ups:
- Re: How to ask a user to select an option in Matlab? Thank You.
- From: Doug Schwarz
- Re: How to ask a user to select an option in Matlab? Thank You.
- From: T Neeves
- Re: How to ask a user to select an option in Matlab? Thank You.
- Prev by Date: Re: zoom tool using Guide
- Next by Date: Re: how to create private data tags in dicom
- Previous by thread: Make Cash Easily
- Next by thread: Re: How to ask a user to select an option in Matlab? Thank You.
- Index(es):
Relevant Pages
|