Prev: n-D lookup table / interpolation simulink 3.0 (R11)
Next: Studying the attention of a person in face of a webcam
From: aamir zeb on 14 Jul 2010 05:35 Please can anyone tell whats the command for making the program to take data at runtime?
From: us on 14 Jul 2010 05:42 "aamir zeb" <addikted(a)gmail.com> wrote in message <i1k0c9$nik$1(a)fred.mathworks.com>... > Please can anyone tell whats the command for making the program to take data at runtime? a hint: help input; help inputdlg; us
From: aamir zeb on 14 Jul 2010 06:30 "us " <us(a)neurol.unizh.ch> wrote in message <i1k0pc$k6r$1(a)fred.mathworks.com>... > "aamir zeb" <addikted(a)gmail.com> wrote in message <i1k0c9$nik$1(a)fred.mathworks.com>... > > Please can anyone tell whats the command for making the program to take data at runtime? > > a hint: > > help input; > help inputdlg; > > us i wrote prompt={'Enter the PATTERN'}; Pattern=INPUTDLG(prompt); some function it gives error Conversion to double from cell is not possible. can anyone help Regards
From: us on 14 Jul 2010 06:45 "aamir zeb" <addikted(a)gmail.com> wrote in message <i1k3k5$n5k$1(a)fred.mathworks.com>... > "us " <us(a)neurol.unizh.ch> wrote in message <i1k0pc$k6r$1(a)fred.mathworks.com>... > > "aamir zeb" <addikted(a)gmail.com> wrote in message <i1k0c9$nik$1(a)fred.mathworks.com>... > > > Please can anyone tell whats the command for making the program to take data at runtime? > > > > a hint: > > > > help input; > > help inputdlg; > > > > us > > i wrote > prompt={'Enter the PATTERN'}; > Pattern=INPUTDLG(prompt); > some function > > it gives error > > Conversion to double from cell is not possible. > > can anyone help > Regards well... the section prompt={'Enter the PATTERN'}; Pattern=inputdlg(prompt); % <- note: NO caps(!)... % is working fine and is what you asked for in your OP... everything else is due to problems in your subsequent code, which you don't show... a hint: - just make sure you understand what PATTERN returns(!)... us
From: aamir zeb on 14 Jul 2010 11:40
"us " <us(a)neurol.unizh.ch> wrote in message <i1k4g8$itq$1(a)fred.mathworks.com>... > "aamir zeb" <addikted(a)gmail.com> wrote in message <i1k3k5$n5k$1(a)fred.mathworks.com>... > > "us " <us(a)neurol.unizh.ch> wrote in message <i1k0pc$k6r$1(a)fred.mathworks.com>... > > > "aamir zeb" <addikted(a)gmail.com> wrote in message <i1k0c9$nik$1(a)fred.mathworks.com>... > > > > Please can anyone tell whats the command for making the program to take data at runtime? > > > > > > a hint: > > > > > > help input; > > > help inputdlg; > > > > > > us > > > > i wrote > > prompt={'Enter the PATTERN'}; > > Pattern=INPUTDLG(prompt); > > some function > > > > it gives error > > > > Conversion to double from cell is not possible. > > > > can anyone help > > Regards > > well... > the section > > prompt={'Enter the PATTERN'}; > Pattern=inputdlg(prompt); % <- note: NO caps(!)... > % is working fine and is what you asked for in your OP... > > everything else is due to problems in your subsequent code, which you don't show... > a hint: > - just make sure you understand what PATTERN returns(!)... > > us let me give an example Pattern =['hello'] please tell |