From: aashay vanarase on
what string does an edit text have when left empty...
how can this empty string be manipulated to use in a if loop(i.e. i want to set a default case for empty string returned.. but how do i recognize the empty string)
From: ImageAnalyst on
On Apr 5, 8:42 am, "aashay vanarase" <aash...(a)gmail.com> wrote:
> what string does an edit text have when left empty...
> how can this empty string be manipulated to use in a if loop(i.e. i want to set a default case for empty string returned.. but how do i recognize the empty string)

----------------------------------------------------
There is an isempty() function.
From: us on
"aashay vanarase" <aashayv(a)gmail.com> wrote in message <hpclqs$o40$1(a)fred.mathworks.com>...
> what string does an edit text have when left empty...
> how can this empty string be manipulated to use in a if loop(i.e. i want to set a default case for empty string returned.. but how do i recognize the empty string)

a hint:
- it is an empty CHAR...

s='';
whos s;
numel(s)
size(s)

us
 | 
Pages: 1
Prev: POWER ELECTRONICS
Next: really need a help