Why does MATLAB 7.0 (R14) crash when I use the SYSTEM_DEPENDENT function without any input arguments?

1 view (last 30 days)
When I use the SYSTEM_DEPENDENT function without any input arguments, as in the following:
system_dependent
I receive the following segmentation violation:
------------------------------------------------------------------------
Segmentation violation detected at Wed Jul 28 08:08:15 2004
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.0.0.19920 (R14)
Operating System: Microsoft Windows XP
Window System: Version 5.1 (Build 2600: Service Pack 1)
Processor ID: x86 Family 15 Model 2 Stepping 9, GenuineIntel
Virtual Machine: Java 1.4.2 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
(mixed mode)
Default Charset: ibm-5348_P100-1997
Register State:
EAX = 00cddcec EBX = 00000400
ECX = 00cddcec EDX = 00cde71c
ESI = 00000000 EDI = 00cde77c
EBP = 00cddcd8 ESP = 00cddcd0
EIP = 78706d3e FLG = 00010202
Stack Trace:
[0] libut.dll:_utLowerCaseCopy(0x00cddcec, 0, 1024, 0) + 14 bytes
[1] libmwservices.dll:_svFindFeatureEntry(0, 0x012c6c30, 0xffffffff, 0) + 30 bytes
[2] bridge.dll:_nmSysDepFcn(0, 0x00cde71c, 0, 0x00cde77c) + 139 bytes
[3] m_dispatcher.dll:public: virtual void __thiscall Mfh_builtin<struct mxArray_tag>::dispatch_mf(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cde71c, 0, 0x00cde77c) + 55 bytes
[4] m_dispatcher.dll:public: virtual void __thiscall Mfh_MATLAB_fn::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cde71c, 0, 0x00cde77c) + 200 bytes
[5] m_interpreter.dll:_inDispatchFromStack(39, 0x0128ffc4 "system_dependent", 0, 0) + 891 bytes
[6] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x0128ffc4 "system_dependent", 39, 0, 0) + 111 bytes

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed for Release 14 SP1 (R14SP1). For previous releases, please read below for any possible workarounds:
We have verified that there is a bug in MATLAB 7.0 (R14) in the way that MATLAB handles the SYSTEM_DEPENDENT function.
Using SYSTEM_DEPENDENT without input arguments is incorrect syntax. It should always have at least one input argument.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!