hello Selim,
sorry for the poor error message. it will be improved in a future release.
the main problem with the MATLAB code you are trying to evaluate via arrayfun is it does indexing. currently, indexing is not supported for functions being evaluated by arrayfun as discussed in the doc.
the following link is a good place to start exploring PCT's GPU offering, http://www.mathworks.com/help/toolbox/distcomp/bsic4n4-1.html
for more specific information about arrayfun on the GPU a good place to start is, http://www.mathworks.com/help/toolbox/distcomp/arrayfun.html
thanks,
Andy