this has gotta be a matlab bug!!
- From: "Bradley Coleman" <whorush@xxxxxxxxxxx>
- Date: Wed, 3 Aug 2005 19:02:57 -0400
put this code in file "f.m"
=== begin code ===
function f()
a=2;
script_file;
g();
function g()
a=3; %set variable native to f
end
end
=== end code ===
now put this code in "script_file.m"
=== begin code ===
bug = 4;
brad = [5 5];
=== end code ===
now run f
for me this causes matlab to core dump and close entirely.
7.0.1.24704 (R14) Service Pack 1 on solaris.
now changing "script_file.m" ...
=== begin code ===
brad = [5 5];
bug = 4;
=== end code ===
all i did was switch the two variables around. now it gives me an
error. it crashes only when the 2X1 matrix is after a 1X1 matrix.
what do you guys think?!?!
.
- Follow-Ups:
- Re: this has gotta be a matlab bug!!
- From: Loren Shure
- Re: this has gotta be a matlab bug!!
- From: helper
- Re: this has gotta be a matlab bug!!
- From: spasmous
- Re: this has gotta be a matlab bug!!
- Prev by Date: Re: normfit produces nan
- Next by Date: about s-function in M
- Previous by thread: FEX: MAT File I/O C Library
- Next by thread: Re: this has gotta be a matlab bug!!
- Index(es):
Relevant Pages
|
Loading