most of the time, untuned parallel code isslower than the original code, and most of the time, editing code to be faster with parallel toolbox is a hassle.
Never use the Parallel Computing toolbox with the expectation that you will avoid hassle by using it. However with experience sometimes the hassle is not bad, and sometimes you can get pretty good performance improvements.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
2 Comments
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/500401-how-cal-i-paralle-my-source-code-its-too-long-and-take-time-to-run#comment_786278
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/500401-how-cal-i-paralle-my-source-code-its-too-long-and-take-time-to-run#comment_786278
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/500401-how-cal-i-paralle-my-source-code-its-too-long-and-take-time-to-run#comment_786567
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/500401-how-cal-i-paralle-my-source-code-its-too-long-and-take-time-to-run#comment_786567
Sign in to comment.