Asked by NTR
on 6 Sep 2011

Hi I am simulating Gaussian noise generator block in simulink.But I am receiving following errors.Can any one please help me how to fix this.

1. Error in 'test1/Gaussian Noise Generator': Initialization commands cannot be evaluated. here test1 is name of simulink model. 2.Undefined function or method 'commblkgaussiansrc2' for input arguments of type 'cell'.

Thank you for your answers.

*No products are associated with this question.*

Answer by Fangjun Jiang
on 6 Sep 2011

Accepted answer

What are the parameters that you provided at the parameter dialog window, such as Mean value, Variance, Initial seed, Sample time and Samples per frame. The error message indicates you might have provided a data which is in the type of cell array. Try some very simple example first. If you have data in cell array, such as data={1,2,3}, use data{1} to refer to the first value in the cell array data.

Show 7 older comments

NTR
on 7 Sep 2011

I am using matlab with license from my univ.

All other blocks are working except communication blockset.

when I run "which commblkgaussiansrc2". It shows like

>> which commblkgaussiansrc2

C:\Program Files\MATLAB\R2010a\toolbox\commblks\commmasks\commblkgaussiansrc2.m % Has no license available

>>

Can you please mention how can I activate license for this toolbox.

thank you very much for help.

Fangjun Jiang
on 7 Sep 2011

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply Today
## 0 Comments