| 查看: 359 | 回复: 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 |
» 猜你喜欢
遇见不省心的家人很难过
已经有16人回复
退学或坚持读
已经有25人回复
博士延得我,科研能力直往上蹿
已经有4人回复
免疫学博士有名额,速联系
已经有14人回复
面上基金申报没有其他的参与者成吗
已经有4人回复
多组分精馏求助
已经有6人回复
找到一些相关的精华帖子,希望有用哦~
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人回复
科研从小木虫开始,人人为我,我为人人













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