The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: has any one got defun() to work on matlab 2010a?
Replies: 8   Last Post: Apr 19, 2012 1:24 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nasser Abbasi

Posts: 6,677
Registered: 2/7/05
has any one got defun() to work on matlab 2010a?
Posted: Mar 30, 2011 12:50 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


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

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.


EDU>> list = depfun('math_228b_HW4_problem_3','-calltree','-verbose')

Segmentation violation detected at Tue Mar 29 21:44:19 2011

MATLAB Version: (R2010a)
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_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
Default Encoding: windows-1252

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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.