필터 지우기
필터 지우기

Initialization commands cannot be evaluated for noise block in simulink

조회 수: 13 (최근 30일)
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.

채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 9월 6일
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.
  댓글 수: 10
NTR
NTR 2011년 9월 7일
Hi Kaustubha Govind,
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
Fangjun Jiang 2011년 9월 7일
If your university purchased and installed the toolbox, there is really no need to activate it. Once you try to drag and use that Gaussian noise generator block, the license will be checked in (assume it is available if it is a network license). Are you using stand-alone license or network license. The best way is to call TWM tech support. Type ver in Command Window to find out your license number. Give it to TWM and they will tell you what your options are.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by