Unrecognised function or variable helperPlotPaths
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!