필터 지우기
필터 지우기

Problem with 'Puncture' block

조회 수: 1 (최근 30일)
Juster
Juster 2012년 5월 6일
Good evening everyone,
I'm trying to simulate the 'Puncture' block in Simulin (Matlab R2010a), but also if I provided different sources I got always the same two errors:
1) Error in 'untitled/Puncture': Initialization commands cannot be evaluated. 2) Undefined function or method 'commblkselect' for input arguments of type 'double'.
Could you try or provide me a right configuration in order to understand where I'm wronging.
Thanks in advance
  댓글 수: 2
Juster
Juster 2012년 5월 7일
I'd like to add the fact that I would use the 'Puncture' block in order to remove some elements from a signal,because I'd perform some mathematical operations on a few values of the input signal.
p.s If you know others block that performs this function, please suggest me.
Please answer.
Thank you
K E
K E 2012년 5월 15일
If anyone else is curious: "The Puncture block creates an output vector by removing selected elements of the input vector and preserving other", see http://www.mathworks.com/help/toolbox/comm/ref/puncture.html

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

채택된 답변

Kaustubha Govind
Kaustubha Govind 2012년 5월 7일
I believe commblkselect should exist in $matlabroot/toolbox/commblks/commmasks - do you see a .m or .p file with that name in your MATLAB installation? If not, you may have a corrupt installation. Also, what do you get with:
>> which -all commblkselect
  댓글 수: 2
Juster
Juster 2012년 5월 8일
Hi,
I've that file in this dirctory, but when I write >> which -all commblkselect I receive the directory name followed by:
% Has no license available
Could be the problem?
Thanks in advance.
Kaustubha Govind
Kaustubha Govind 2012년 5월 8일
Yes, the problem seems to be that you have the Communications Blockset installed, but do not have a valid license for it. I would recommend contacting MathWorks Installation/Licensing Support: http://www.mathworks.com/support/install.html

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

추가 답변 (1개)

Juster
Juster 2012년 5월 11일
Thank you Kaustubha.
Unfortunally I cannot use Puncture block but I solved the problem using 'find' function inside Matlab Workspace.
With Regards.

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by