Parfor Problems - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Parfor Problems

natynaty Posts: 2Member
Hey
I have got a weird problem... my for loop is working just fine. But whenever i am trying to use parfor, It claims that there is an error in one of the sub-functions (" Index exceed matrix dimensions").

[color=Red]Error using parallel_function (line 598)

Index exceeds matrix dimensions.

Error stack:
run_ode.m at 62
run_sim.m at 9

Error in main (line 26)
parfor j=1:1:n[/color]

anyone got any idea?
Thanks!
Sign In or Register to comment.