Undefined variable "comm" or class "comm.FMBroadcastModulator". Why is this happening on my MATLAB Workspace window?
조회 수: 3 (최근 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에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!