Undefined variable "comm" or class "comm.FMBroadcastModulator". 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);
0 个评论
采纳的回答
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
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 Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!