Problem with a LinearFMWaveform property?
5 views (last 30 days)
Show older comments
I have this bit of code in a script:
waveform{n_wav} = phased.LinearFMWaveform('SampleRate', fs, ...
'PulseWidth',tps(n_wav), ...
'SweepBandwidth', bw, ...
'PRF', prfs(n_wav), ...
'SweepInterval','Symmetric',...
'OutputFormat', 'Pulses', ...
'CoefficientsOutputPort',true, ...
'PRFOutputPort', true ...
);
When I run the script, i get these errors:
Error using phased.internal.AbstractPulseWaveform (line 140)
Unrecognized property 'CoefficientsOutputPort' for System object
'phased.LinearFMWaveform'.
Error in phased.internal.AbstractContinuousPhasePulseWaveform (line 49)
obj@phased.internal.AbstractPulseWaveform(varargin{:});
Error in phased.internal.AbstractLinearFMWaveform (line 55)
obj@phased.internal.AbstractContinuousPhasePulseWaveform(varargin{:});
Error in phased.LinearFMWaveform (line 109)
obj@phased.internal.AbstractLinearFMWaveform(varargin{:});
Error in sim_main (line 259)
waveform{n_wav} = phased.LinearFMWaveform('SampleRate', fs, ...
It seems like the code doesn't recognize the CoefficientsOutputPort property but this appears to be a supported property of this object. Any suggestions for what may be causing these errors?
2 Comments
Anjaneyulu Bairi
on 11 Jan 2024
Hi,
With the given code I am not able to reproduce the error , can you attach the file or post the code?
George
on 14 Jan 2024
What matlab version are you using? It could be that you are using an old version in which the phased.LinearFMWaveform does not have that property. If you just create a default LFMWaveform and print it to the command line, do you see that property?
Answers (1)
Shivam
on 12 Jan 2024
Hi Richard,
It is my understanding that you're encountering an issue where the "CoefficientsOutputPort" property is not recognized when you attempt to configure a linear FM pulse waveform System object with the "phased.LinearFMWaveform" function, using a specific set of name-value pairs.
It is important to note that the "CoefficientsOutputPort" property became available for the "phased.LinearFMWaveForm" function starting with the MATLAB R2020b release. Therefore, I suggest verifying the version of MATLAB you are currently using.
You can consider executing your code in a more recent version of MATLAB that includes support for this property.
You can refer to the following documentation to know more about the "phased.LinearFMWaveform" function and its properties: https://www.mathworks.com/help/releases/R2023b/phased/ref/phased.linearfmwaveform-system-object.html
I hope this information will be of assistance to you.
Thanks
0 Comments
See Also
Categories
Find more on Pulsed Waveforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!