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 个评论

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