Undefined function 'ind2rgb8' for input arguments of type 'uint8'
1 次查看(过去 30 天)
显示 更早的评论
With 2021a I get this error:
Writing DET for W:\NewRigFiles\LEFTRigDAQ1\2018\July2018\July01_DAQ1_[D]6-27-2018[T]11-17-30%\DET\S1\July01_DAQ1_[D]6-27-2018[T]11-17-32%.mat
Starting parallel pool (parpool) using the 'local' profile ...
Connected to the parallel pool (number of workers: 4).
Analyzing and transferring files to the workers ...done.
Error using ClassifyMultiCatArray (line 5)
The source code (E:\GoogleDrive\programming\MatLabProjects\MultiCatdetect2019\ClassifyMultiCatArray.m) for the parfor-loop that is trying to
execute on the worker could not be found.
Error in MultiCatOnEEGFileNames (line 69)
[DETs] = ClassifyMultiCatArray(ReformData,fb,trainedGN,allImages); % We now analize ReformData, which is filtered
exactly the same as training EEG
Caused by:
Undefined function 'ind2rgb8' for input arguments of type 'uint8'.
Error using remoteParallelFunction (line 84)
Worker unable to find file.
Undefined function 'ind2rgb8' for input arguments of type 'uint8'.
No problem with 2019b
What changed?
Thanks,
Dan
0 个评论
采纳的回答
DGM
2021-8-12
Do you have mapping toolbox in the newer version? Does anything show up if you test with which()?
which ind2rgb8
If you don't have mapping toolbox, you can probably use
im2uint8(ind2rgb(picture,map))
or if you don't have IPT, you can do
uint8(ind2rgb(picture,map)*255)
That's just my guess though. If there are common pitfalls using parpool, I wouldn't know.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!