| MATLAB Central > MATLAB Newsreader > Code folding |
|
|
|
I have a bunch of lines of code that I just want to hide. They are not part of a function, or comment, or anything like that, so when I highlight the text and click on text->code folding , it doesn't let me chose any of the options. |
|
"juliette Salexa" <n_dattani@hotmail.com> wrote in message <gvmsst$m5i$1@fred.mathworks.com>... |
|
"Alan B" <monguin61@yahoo.com> wrote in message <gvmta1$j29$1@fred.mathworks.com>... |
|
"juliette Salexa" <n_dattani@hotmail.com> wrote in message <gvmtp2$juk$1@fred.mathworks.com>... |
|
"Alan B" <monguin61@yahoo.com> wrote in message <gvmta1$j29$1@fred.mathworks.com>... |
|
When I go to preferences -> code folding, the only programming constructs that I can hide are "funciton code" and "function help" |
|
Okay, it's been quite some time now and I still haven't found a way to fold my code. In fact, I can't even fold cells. I'd be extremely surprised if MATLAB doesn't allow us to fode code that isn't commented or part of a cell or part of a function. We should be able to fold whatever we want! |
|
In article <h040a6$rah$1@fred.mathworks.com>, |
|
If you have a recent MATLAB version, you might have to enable code folding |
|
Hello, I am using 7.5.0.342 (R2007b) |
|
Juliette, |
|
Thanks, |
|
"Juliette Salexa" <juliette.physicist@gmail.com> wrote in message <gvp175$4os$1@fred.mathworks.com>... |
|
Thank you Steve, |
|
"Juliette Salexa" <juliette.physicist@gmail.com> wrote in message <h08svt$c4g$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.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| editor | Ned Gulley | 8 Jun, 2009 17:13:15 |
Contact us at files@mathworks.com
