Is Matlab working on speeding up the editor with large .m files?
1 view (last 30 days)
Show older comments
Matt Forthofer
on 24 Jun 2015
Commented: Sean de Wolski
on 24 Jun 2015
I find it very convenient to code using nested functions and code folding. Unfortunately, the current editor gets too bogged down when parsing this file for all the features in Mtree. This causes me to split out the functions into separate files, which makes it more difficult to debug and version control. If the parsing can't be sped up, could you make it manual? So we could take it off automatic and press an update button when we are done updating the code in a large file.
Thanks,
0 Comments
Accepted Answer
Sean de Wolski
on 24 Jun 2015
Matt, See this thread:
The suggestion to use exit, helps a fair amount.
0 Comments
More Answers (3)
Steven Lord
on 24 Jun 2015
In general we don't discuss what we're working on. In this specific case, I have two suggestions:
- Temporarily disable integrated warnings and errors in the Code Analyzer Preferences and/or disable code folding in the Editor/Debugger Preferences (Preferences item in the Environment section of the Home tab.) Reenable those preferences or use CHECKCODE to check for potential problems or improvements.
- If there are specific constructs or coding techniques that you've found causes the Editor to slow down more than others, please contact Technical Support to let them know about these patterns so they can report them to the development staff (and inform you of any known workarounds or solutions.)
0 Comments
Matt Forthofer
on 24 Jun 2015
2 Comments
Sean de Wolski
on 24 Jun 2015
You could automate it with fopen/fwrite/fclose and stick it in a shortcut. How's that for hacky/kludgy/awful!
Sean de Wolski
on 24 Jun 2015
Also, please use a comment when replying to a specific answer rather than a new answer.
See Also
Categories
Find more on Debugging and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!