Undefined variable "comm" or class "comm.FMBroadcastModulator". Why is this happening on my MATLAB Workspace window?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
VINAYAK KARANDIKAR
le 18 Jan 2019
Commenté : Star Strider
le 18 Jan 2019
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 commentaires
Réponse acceptée
Star Strider
le 18 Jan 2019
Those are Communications Toolbox functions. You should be able to use them if you have the Communications Toolbox installed.
4 commentaires
Star Strider
le 18 Jan 2019
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!
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!