| 查看: 973 | 回复: 1 | ||
[求助]
带有并行循环的程序多次执行时会提示各种警告,能忽略吗?有没有什么解决办法?
|
|
在设计遗传算法程序时后用了matlab中的 parfor 加快计算,这个文件单次执行的时候没有任何问题,可是我想过运行几遍看稳定性,于是我写了这样一个文件runbat.m,结果各种警告: matlabpool open run GA_float1a save 1 clear all close all run GA_float1a save 2 clear all close all run GA_float1a save 3 clear all close all run GA_float1a save 4 clear all close all run GA_float1a save 5 clear all close all matlabpool close 给出的警告是:Starting matlabpool using the 'local' profile ... connected to 2 workers. Warning: Out of range or non-integer values truncated during conversion to character. In parallel_function>distributed_execution/consume_reduce at 849 In parallel_function>distributed_execution at 822 In parallel_function at 580 In GA_float1a at 31 In run at 63 In runbat at 2 GA_float1a at 31是我是程序文件中parfor出现的那一行 |
» 猜你喜欢
这样的filecode谁见过
已经有17人回复
应该是93bebmhtak前后十一个字符比较关键
已经有4人回复
关于代码变化问题,想知道的进来
已经有16人回复
fileCode有新解读?
已经有18人回复
关于filecode,很负责任的告诉大家
已经有7人回复
【2027博士申请】纳米药物递送方向
已经有5人回复
关于豆爷回答的JTJC与%2F数量
已经有7人回复
2026国自然放榜时间
已经有3人回复
国基金的申报应该改成非等额制,评价高的钱多评价低的钱少,但是增加资助率
已经有7人回复
好奇怪的filecode
已经有4人回复
2楼2016-05-09 22:41:00










回复此楼