Error:Undefined function or method 'gpuArray' for input arguments of type 'uint8'
12 ビュー (過去 30 日間)
古いコメントを表示
When i used gpuArray while coding,
originalI = imread('cameraman.tif');
se = strel('disk',5);
erodedI = imerode(gpuArray(originalI),se);
figure, imshow(originalI), figure, imshow(erodedI)
It resulted in the following error
Undefined function or method 'gpuArray' for input arguments of type 'uint8'
What is the reason for this? Please tell me.
I am using MATLAB 2010a.
Thanks in advance
1 件のコメント
Kaustubha Govind
2013 年 7 月 8 日
Not sure if the function existed in R2010a. What do you get when you run "which gpuArray"?
回答 (3 件)
Sean de Wolski
2013 年 7 月 8 日
gpuArray and GPU support was released in R2010b. If your company/university's SMS subscription is up to date, you can download the newest release at no additional cost.
0 件のコメント
Ahmed
2013 年 7 月 6 日
gpuArray is a function of the 'Parallel Computing Toolbox'. Without this toolbox, the function can not be called. The command 'ver' lists all installed toolboxes.
David Huang
2022 年 1 月 24 日
I have the same question:
Undefined function 'gpuArrray' for input arguments of type 'double'.
my Parallel Computing Toolbox version is Version 7.4 (R2021a)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!