ERRORS IN MY CODE PLESE CORRECT ME.
1 次查看(过去 30 天)
显示 更早的评论
I HAVE ERRORS IN MY CODE ..PLESE CORRECT THEM....
my code is attached.
errors are
Undefined function 'randsrc' for input arguments of type 'double'.
Error in top_design>pushbutton3_Callback (line 180) datain=randsrc(1,16,0:0);
Error in gui_mainfcn (line 96) feval(varargin{:});
Error in top_design (line 42) gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)top_design('pushbutton3_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback....
0 个评论
回答(1 个)
Image Analyst
2014-1-2
On the command line, type
which -all randsrc
What does it say? You may not have the toolbox it is in. What does
ver
say? That will list your toolboxes.
4 个评论
Walter Roberson
2014-1-2
randsrc is from the Communications Toolbox; you need that installed and licensed
另请参阅
类别
在 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!