Undefined variable "comm" or class "comm.FMBr​oadcastMod​ulator". Why is this happening on my MATLAB Workspace window?

1 次查看(过去 30 天)
I am tryng to implement the following example. And i get an error. What could be the reason?
code:
audio = dsp.AudioFileReader('guitartune.wav','SamplesPerFrame',4410);
fmbMod = comm.FMBroadcastModulator('AudioSampleRate',audio.SampleRate, ...
'SampleRate',240e3);
fmbDemod = comm.FMBroadcastDemodulator( ...
'AudioSampleRate',audio.SampleRate, ...
'SampleRate',240e3,'PlaySound',true);

采纳的回答

Star Strider
Star Strider 2019-1-18
Those are Communications Toolbox functions. You should be able to use them if you have the Communications Toolbox installed.
  4 个评论
Star Strider
Star Strider 2019-1-18
Note that R2019a will be out in the not distant future. It promises a number of bug fixes, as well as new functionality.
If my Answer helped you solve your problem, please Accept it!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by