Paul
Posts:
208
Registered:
2/23/10
|
|
Re: Wouldn't it be nice if Matlab supported C-style comments?
Posted:
Mar 12, 2013 6:46 PM
|
|
On Mar 10, 10:27 pm, "Steven_Lord" wrote: >"Paul" <paul.domas...@gmail.com> wrote: >> On Mar 10, 4:38 pm, "Bruno Luong" <b.lu...@fogale.findmycountry> >> wrote: > > *snip* > >> No that's *very* interesting. I never knew you could do that. So >> to comment out the +2 line, I would do >> >> ... % + 2 > > Yes, and that's documented behavior. > > http://www.mathworks.com/help/matlab/ref/specialcharacters.html > >> Not as flexible as comments defined by opening and closing tokens, >> but it goes a long way to fulfilling the need. > > If you feel strongly that MATLAB should have comments like you > described, please contact Technical Support and ask them to add your > request to the official enhancement database.
With the new-found behaviour above, I think I'll make do. Thanks.
|
|