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

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);

 Risposta accettata

Those are Communications Toolbox functions. You should be able to use them if you have the Communications Toolbox installed.

4 Commenti

result = license('test','communications toolbox')
result =
1
Now what?
Clearly it is intalled on my MATLAB 2013b!!!
According to the documentation on comm.FMBroadcastModulator, it was introduced in R2015a.
You will need to upgrade if you want to use it.
This question settles it then. I am buying the latest version one. 2018b....here i come, for YOU!!!
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!

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Release

R2013b

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by