Unrecognized function or variable
3 次查看(过去 30 天)
显示 更早的评论
Hi,
error: Unrecognized function or variable 'genCand'.
Error in Main (line 40)
cn1=genCand(:,1:1000-NO+1);
"
I keep getting this error and I am unsure why as I have a function named "genCand" in another script. I am just calling it in my main code.
Sorry if my question is rudimentary, I am new to this.
Thank you for your help guys!
0 个评论
采纳的回答
J Chen
2020-12-25
You need to put the genCand function in a file named genCand.m (in the same directory of the calling m-file or in the search path).
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!