Unrecognised function or variable helperPlotPaths
显示 更早的评论
I am working with the Phased Array System toolbox and have come across part of the code I am running from the Matlab website, using the function helperPlotPaths across lines 56 to 60 of my code:
%% Plot paths
helperPlotPaths([0;0;-60],[500 500; 1000 0; -70 -40], ...
channelDepth,numPaths)
Running this returns the error:
Unrecognized function or variable 'helperPlotPaths'.
'helperPlotPaths' is used in the example: Underwater Target Detection with
an Active Sonar System.
Error in
Underwater_target_detection (line 58)
helperPlotPaths([0;0;-60],[500 500; 1000 0; -70 -40], ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I can understand this error that helperPlotPaths as a function is not on the path (the path directory I am working in only contains the script I am writing, which include lines 56 to 60 above, and nothing else).
I have looked through the answers on this site and did not find an answer as to where helperPlotPaths is. Please can someone let me know where this function is kept once Phased Array Systems toolbox is downloaded? I do have this toolbox on my computer.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 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!