Parameters in the ADAS slexFMCWMultiTargetsDOAExample
1 view (last 30 days)
Show older comments
Cristian Alistarh
on 13 Jun 2017
Commented: Cristian Alistarh
on 28 Jun 2017
Hi there,
I have tried running the slexFMCWMultiTargetsDOAExample and modifying the parameters in the helper file but there is no difference in output when I run the simulation. I have tried setting null values in range and velocity, but the display at the output remains unchanged. I have overwritten the original example file in the phaseddemo folder, but it did not work. I am sure there should be a method of changing the parameters and obtaining a different value for target range, velocity and angle, but I cannot explain how that should be set for this Simulink example.
This is my modification:
paramFMCWRSA.Fs = 300e6;
paramFMCWRSA.T = 5.5*400/3e8;
paramFMCWRSA.ppow = 0.00316227766016838;
paramFMCWRSA.TxGain = 36.0042142909402;
paramFMCWRSA.RadarVel = [ 65*1600/3600; 0; 0];
paramFMCWRSA.RadarPos = [0;0;0];
paramFMCWRSA.Fc = 77e9;
paramFMCWRSA.RCS = [100 100 100];
paramFMCWRSA.CarVel = [0 0 0;0 0 0;0 0 0];
paramFMCWRSA.CarPos = [0 0 0;2 -2 0;0 0 0];
paramFMCWRSA.C = 3e8;
paramFMCWRSA.NF = 4.5;
paramFMCWRSA.RxGain = 42.0042142909402;
paramFMCWRSA.lambda = paramFMCWRSA.C/paramFMCWRSA.Fc;
Any help is greatly appreciated.
All the best, Cristian
0 Comments
Accepted Answer
Honglei Chen
on 13 Jun 2017
Could you clarify what you saw? If you execute the lines you listed above in the command window and run slexFMCWMultiTargetsDOAExample, it should use the parameters you specified. Are you not seeing this? Thanks.
4 Comments
Honglei Chen
on 14 Jun 2017
Just to follow up, alternatively, if you have a different parameter file, you can consider using the same struct name, then you just need to run the different file but you don't have to update the parameter in each block.
Also, the model is configured to run the helper file when loading. You can adjust which file to run when loading by right clicking the model and then go to properties -> callbacks
HTH
More Answers (0)
See Also
Categories
Find more on Transmitters and Receivers in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!