range2time is not working?

1 visualizzazione (ultimi 30 giorni)
Gaurav Sharma
Gaurav Sharma il 22 Apr 2019
Modificato: Walter Roberson il 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.

Risposta accettata

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

Più risposte (2)

Gaurav Sharma
Gaurav Sharma il 22 Apr 2019
Modificato: Gaurav Sharma il 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 Commenti
Walter Roberson
Walter Roberson il 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 il 22 Apr 2019
Modificato: Walter Roberson il 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.

Accedi per commentare.


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

Accedi per commentare.

Categorie

Scopri di più su Foundation and Custom Domains in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by