只需一步,快速开始
您需要 登录 才可以下载或查看,没有账号?我要加入
total = 0; A = zeros(1000, 1); parfor i = 1:100 total = total + i; % OK A(i) = A(i) + 1; % OK end
total = 0; A = zeros(200,200); parfor i = 1:100 total = total + i; % OK A(i,i) = A(i,i) + 1; % error end
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
|小黑屋|Archiver|手机版|联系我们|声振论坛
GMT+8, 2024-11-17 13:41 , Processed in 0.055866 second(s), 18 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.