- Standard Matlab is single threaded, but there are functions which run in parallel.
- There is the Parallel Toolbox
- One may run several sessions in parallel. Edit and debug in one and do production runs in others. Requires some care with the search path so that one doesn't make changes in files, which are used in the production runs.
- Your description, "code I have to replace could be as large as half a page in a quite a few places" makes me wonder ...
- "notepad cannot do"   the free Notepad++ can, I'm sure. It even highlights some Matlab syntax.
CPU allocated to Matlab is bounded at 25% for entering code, with or without parallel computing on
2 次查看(过去 30 天)
显示 更早的评论
Hello,
Has anyone come across a method for increasing Matlab CPU usage to 100% instead of being bounded at 25%, for writing code instead of computing. When I am fixing an error for this script and replacing one line with a few others, it takes about 10 minutes for it to do it, regardless of how many changes have to be made in the script. Running parallel computing doesn't change that fact (though I would be surprised if it could). Sometimes the code I have to replace could be as large as half a page in a quite a few places (which word and notepad cannot do), so manually copying and pasting could waste as much as a full day.I am rather new to Matlab, as I only started using this 4 months ago, so any help will be welcome.
Thanks
0 个评论
采纳的回答
per isakson
2015-2-21
编辑:per isakson
2015-2-22
2 个评论
per isakson
2015-2-23
I chose to believe that my "but there are functions which run in parallel" explains why you seen "60%", e.g. BLAS.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!