range2time is not working?

조회 수: 1 (최근 30일)
Gaurav Sharma
Gaurav Sharma 2019년 4월 22일
편집: Walter Roberson 2019년 4월 22일
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