| 查看: 357 | 回复: 0 | ||
dead5845065金虫 (正式写手)
|
[求助]
matlab 并行求救
|
|
大家好, 我正在做一个matlab数据匹配的计算,由于数据量太大,所以想使用并行,但是错误无法避免: >> matlabpool local 6 Starting matlabpool using the 'local' profile ... connected to 6 labs. >> untitled Warning: The temporary variable j will be cleared at the beginning of each iteration of the parfor loop. Any value assigned to it before the loop will be lost. If j is used before it is assigned in the parfor loop, a runtime error will occur. See Parallel for Loops in MATLAB, "Temporary Variables". > In untitled at 2 Error using untitled (line 2) Error: The variable felspar in a parfor cannot be classified. See Parallel for Loops in MATLAB, "Overview". 下面是我的代码,非常感谢! alldata(300000,125), alldatafel(56927,54) -------------------------------------------------------------------------------------- j=1; parfor i=1:300000 while j < 56927 if strcmp(alldata(i,1),alldatafel(j,1)) && strcmp(alldata(i,2),alldatafel(j,2)); felspar(j,55:179)=alldata(i,1:125); j=j+1; end end end |
» 猜你喜欢
所感
已经有3人回复
要不要辞职读博?
已经有7人回复
不自信的我
已经有11人回复
北核录用
已经有3人回复
实验室接单子
已经有3人回复
磺酰氟产物,毕不了业了!
已经有8人回复
求助:我三月中下旬出站,青基依托单位怎么办?
已经有10人回复
26申博(荧光探针方向,有机合成)
已经有4人回复
论文终于录用啦!满足毕业条件了
已经有26人回复
2026年机械制造与材料应用国际会议 (ICMMMA 2026)
已经有4人回复
找到一些相关的精华帖子,希望有用哦~
matlab提前设定语句运行时间的问题
已经有4人回复
MATLAB并行运算提示出错
已经有4人回复
运行bands.x出错
已经有5人回复
matlab parfor并行运行中导出excel出错
已经有6人回复
新手求教:怎么在GROMACS下实现并行计算?怎么看用了几个CPU?
已经有4人回复
abaqus调用fortran时,让fortran并行运算
已经有6人回复
请问单机装VASP,装并行好还是串行好?
已经有15人回复
【求助】离散偶极近似(ddscat7.3)
已经有12人回复
并行算法与并行软件设计全面介绍,值得收藏~
已经有32人回复
求助数组越界问题!
已经有8人回复
求教:Matlab在集群上如何实现并行计算?
已经有5人回复
请教matlab在linux下的并行问题
已经有18人回复
matlab循环计算转为矩阵 30金币求助
已经有7人回复
【请教】 2D Gaussian Fitting based on Matlab
已经有4人回复
matlab for循环速度 提高方法
已经有15人回复
matlab的函数调用问题
已经有3人回复
求教,matlab并行运算加速
已经有12人回复
mathmatica运算遇到问题 求助
已经有5人回复
有没有人关注fortran语言的GPU并行呢?
已经有12人回复
【求助】一个matlab窗口占25%CPU,如何提高?
已经有11人回复
【求助】三维矩阵运算
已经有8人回复
【求助】turbomole安装问题
已经有10人回复
科研从小木虫开始,人人为我,我为人人












回复此楼
点击这里搜索更多相关资源