range2time is not working?

1 view (last 30 days)
Gaurav Sharma
Gaurav Sharma on 22 Apr 2019
Edited: Walter Roberson on 22 Apr 2019
can please anyone tell me why this range2time function is not working? it is cont. showing that it is an undefined function.

Accepted Answer

Walter Roberson
Walter Roberson on 22 Apr 2019
range2time requires the Phased Array Toolbox, R2012b or later.

More Answers (2)

Gaurav Sharma
Gaurav Sharma on 22 Apr 2019
Edited: Gaurav Sharma on 22 Apr 2019
thanks man.....
that problem has resolved but now I am getting this error..... in the same code
"
Undefined function or variable 'helperFMCWSimulate'.
Error in code4 (line 109)
xr = helperFMCWSimulate(Nsweep,waveform_tr,radarmotion,carmotion,..."
Can you help me with this one pls.
  2 Comments
Walter Roberson
Walter Roberson on 22 Apr 2019
It is in examples/phased/main/ directory relative to your installation, at least for R2018b and R2019a (I am still checking for older versions.)
When you use openExample then it will be copied into a directory that is on your MATLAB path.
I suspect that you might be using a version of the Phased Array Toolbox that is too old that have that example.
Walter Roberson
Walter Roberson on 22 Apr 2019
Edited: Walter Roberson on 22 Apr 2019
In versions at least as far back as R2013b to R2017a, it was in toolbox/phased/phasedemos/helperFMCWSimulate.m relative to the installation directory.
In R2017b to R2019a is has been in examples/phased/main/helperFMCWSimulate.m relative to the installation directory.

Sign in to comment.


Gaurav Sharma
Gaurav Sharma on 22 Apr 2019
i have R018b.
  1 Comment
Walter Roberson
Walter Roberson on 22 Apr 2019
openExample('phased/MFSKExample')
The master copy of the file is in examples/phased/main/helperFMCWSimulate.m

Sign in to comment.

Categories

Find more on Foundation and Custom Domains 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!