| MATLAB Central > MATLAB Newsreader > Mixed type switch/case |
|
|
|
I get an m-lint warning because (string and char are mixted) when doing this |
|
In 2006a and 2007b, I get no M-Lint for this: |
|
Ah, incomplete post, try this Matt |
|
TMW must have changed something. I do not understand why you get this, because the double 1 is a valid output from the lower function. I.e., lower(1)==1. It seems that as long as a legitimate output from the lower function is in the case (at least), I get no warning. |
|
The mlint message is |
|
I guess you will have to wait until: |
|
In article <hdrtki$ekg$1@fred.mathworks.com>, |
|
Doug Schwarz <see@sig.for.address.edu> wrote in message <see-6805DC.11562816112009@news.frontiernet.net>... |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message |
|
|
|
"Steven Lord" <slord@mathworks.com> wrote in message <hds6fr$19l$1@fred.mathworks.com>... |
|
|
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
Contact us at files@mathworks.com
