range2time is not working?

3 次查看(过去 30 天)
can please anyone tell me why this range2time function is not working? it is cont. showing that it is an undefined function.

采纳的回答

Walter Roberson
Walter Roberson 2019-4-22
range2time requires the Phased Array Toolbox, R2012b or later.

更多回答(2 个)

Gaurav Sharma
Gaurav Sharma 2019-4-22
编辑:Gaurav Sharma 2019-4-22
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 个评论
Walter Roberson
Walter Roberson 2019-4-22
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 2019-4-22
编辑:Walter Roberson 2019-4-22
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.

请先登录,再进行评论。


Gaurav Sharma
Gaurav Sharma 2019-4-22
i have R018b.
  1 个评论
Walter Roberson
Walter Roberson 2019-4-22
openExample('phased/MFSKExample')
The master copy of the file is in examples/phased/main/helperFMCWSimulate.m

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by