Why does MATLAB 7.0.4 (R14SP2) crash while using the FILTER command in Communications Toolbox 3.1 (R14SP2)?

2 views (last 30 days)
I am calling the FILTER function in Communications Toolbox 3.1 (R14SP2), with a scalar argument for the baseband signal vector. I receive the following segmentation error:
[0] m_interpreter.dll:void __cdecl inPushmat(struct mxArray_tag *)(0xbfc22ced, 0x10101d60, 0x10092a18, 0x00cdc4c0) + 7 bytes
[1] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(1, 312, 16, 0) + 2869 bytes
[2] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(1, 312, 16, 0) + 272 bytes
[3] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x10101d60, 0, 2, 0x0fa421f8) + 714 bytes
[4] m_interpreter.dll:_inWordsj(1, 0x00cdc0d8, 2, 0x0fa421f8) + 443 bytes
[5] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(1, 0x00cdc0d8, 2, 0x0fa421f8) + 164 b
<snip>
and/or the following error dialog:
Runtime Error:
Program MATLABROOT\MATLAB.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the applications support team for more information.
(where MATLABROOT is the directory where MATLAB is installed)
For instance, the following code reproduces this issue:
chan1 = rayleighchan(1/100000,130); % Create object.
y = filter(chan1,1);

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Communications Toolbox 3.2 (R14SP3). For previous product releases, read below for any possible workarounds:
This problem appears to occur on the call to the FILTER function which is located at the following directory:
MATLABROOT\toolbox\comm\comm\@channel\@multipath\filter.m
This issue is caused by a scalar being passed to FILTER instead of the expected vector input representing the baseband signal vector. It is resolved if FILTER is given a vector input.

More Answers (0)

Categories

Find more on Applications in Help Center and File Exchange

Products


Release

R14SP2

Community Treasure Hunt

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

Start Hunting!