
has any one got defun() to work on matlab 2010a?
Posted:
Mar 30, 2011 12:50 AM


Hello;
I have matlab 2010a, on windows 7, SP1, and I was never able to get defun to work, regadless of what argument options I give it. It always crashes.
I was wondering if someone with matlab 2010a on windows 7 could try this function to see if they crash or not also.
I have no problem using Matlab at all, other than this one function. It never worked for me.
btw, I tried mydepfun() from matlab file exchange, and that worked with no problem.
Nasser
EDU>> list = depfun('math_228b_HW4_problem_3','calltree','verbose')
 Segmentation violation detected at Tue Mar 29 21:44:19 2011 
Configuration: MATLAB Version: 7.10.0.499 (R2010a) MATLAB License: STUDENT Operating System: Microsoft Windows 7 Window System: Version 6.1 (Build 7601: Service Pack 1) Processor ID: x86 Family 6 Model 10 Stepping 5, GenuineIntel Virtual Machine: Java 1.6.0_12b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode Default Encoding: windows1252
Fault Count: 1
Register State: EAX = 00c2b770 EBX = 7a1010bd ECX = 00000000 EDX = 00000001 ESI = 00c2be10 EDI = 00c2c9a4 EBP = 00c2c9b0 ESP = 00c2b770 EIP = 7a1010f7 FLG = 00010206
Stack Trace: [0] mcr.dll:__catch$?getMethods@myDepfunInfo@@AAEXQBDPAVMfh_MATLAB_fn@@PAV?$vector@UmdMethodDescription@@V? $allocator@UmdMethodDescription@@@std@@@std@@@Z$0(0x00c2b78c, 0, 0x00c2c9d0 "¹.i+", 0x2b8824f0 "1 z5_") + 58 bytes [1] mcr.dll:private: void __thiscall myDepfunInfo::add_typeidx(int,class Mfh_MATLAB_fn *) (0x7a122370 "Unknown", 0, 0x08086380, 0x00c2d3ac) + 400 bytes [2] mcr.dll:private: void __thiscall myDepfunInfo::add_function(class Mfh_MATLAB_fn *,class Mfh_MATLAB_fn *, class DepfunRules const *,bool)(0x2b701ed8, 0, 0x7a138544, 0) + 283 bytes [3] mcr.dll:__catch$?compute_closure@myDepfunInfo@@QAEX_N@Z$1(0x00c2d400, 0xffffffff, 0x08233bf0, 1) + 897 bytes [4] mcr.dll:_mcrDepfunFcn(1, 0x00c2d5fc, 0, 0x00c2d600) + 775 bytes

