range2time is not working?

3 Ansichten (letzte 30 Tage)
Gaurav Sharma
Gaurav Sharma am 22 Apr. 2019
Bearbeitet: Walter Roberson am 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.

Akzeptierte Antwort

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

Weitere Antworten (2)

Gaurav Sharma
Gaurav Sharma am 22 Apr. 2019
Bearbeitet: Gaurav Sharma am 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 Kommentare
Walter Roberson
Walter Roberson am 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 am 22 Apr. 2019
Bearbeitet: Walter Roberson am 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.

Melden Sie sich an, um zu kommentieren.


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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by