Matlab Parallel Computing with Simulink Model

老子叫甜甜 提交于 2019-12-04 17:09:35
Henrik

you may want to see this question, IMHO, it is related, and could in fact be the same problem:

MATLAB: What happens for a global variable when running in the parallel mode?

There a workspace global variable appears to be empty, even if it was defined.

user Edric provides a link, and a short explanation, that global variables are not passed to workers (for instance simulink running as parallel).

The link is to this blog entry: "Getting parfor loops up and running": http://blogs.mathworks.com/loren/2009/10/02/using-parfor-loops-getting-up-and-running/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!