Undefined variable "signalblks"

I am tying to run the Demo "GSM Digital Down Converter". Why do I get this error:
??? Undefined variable "signalblks" or class "signalblks.SineWave".
Here is what is installed: MATLAB Version 7.8 (R2009a) Simulink Version 7.3 (R2009a) Communications Blockset Version 4.2 (R2009a) Communications Toolbox Version 4.3 (R2009a) Control System Toolbox Version 8.3 (R2009a) EDA Simulator Link MQ Version 2.6 (R2009a) Filter Design Toolbox Version 4.5 (R2009a) Fixed-Point Toolbox Version 2.4 (R2009a) Genetic Algorithm and Direct Search Toolbox Version 2.4.1 (R2009a) Optimization Toolbox Version 4.2 (R2009a) Real-Time Workshop Version 7.3 (R2009a) Signal Processing Blockset Version 6.9 (R2009a) Signal Processing Toolbox Version 6.11 (R2009a) Simulink Control Design Version 2.5 (R2009a) Simulink Fixed Point Version 6.1 (R2009a) Simulink HDL Coder Version 1.5 (R2009a) Stateflow Version 7.3 (R2009a) Stateflow Coder Version 7.3 (R2009a)

 채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 4월 6일

0 개 추천

What commands are you executing exactly? Also, where do you get the instructions for the demo from? It appears that you are attempting to execute System Objects that were only introduced in R2010a. It is possible you are using instructions for a newer release.

댓글 수: 2

Steve
Steve 2011년 4월 6일
The commands come direct from the demo:
http://www.mathworks.com/dsp/demos.html?file=/products/demos/shipping/dspblks/signalblksddc.html#1
The demo says, "This demo requires a Fixed-Point Toolbox™ license" which I have installed.
Fs = 69.333e6; FrameSize = 768;
hsine = signalblks.SineWave( ...
'Frequency', 69.1e6*5/24, ...
'SampleTime', 1/Fs, ...
'Method', 'Trigonometric function', ...
'SamplesPerFrame', FrameSize);
Kaustubha Govind
Kaustubha Govind 2011년 4월 6일
The documentation and demos on the website are typically all for the current release (which is R2010b). You will need to upgrade to be able to run the demo exactly. Alternatively, you may look for a similar demo in your release by searching for it in the documentation shipped with that version (type "doc" to open up the Help Window). Note that this demo either may not have existed, or may have used different commands in an older release.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Communications Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by