From: us on 28 Jul 2010 08:42 "Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <i2p7on$hf2$1(a)fred.mathworks.com>... > When CLEAR is called within the function, only the *function* workspace is cleared, the BASE workspace is unchanged. You should create a script instead (remove the line "function ppp" of your mfile) or alternatively use commane evalin('base','clear'). > > Bruno yes... as the doc says (amongst other things)... us
From: Oleg Komarov on 28 Jul 2010 08:42 "Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <i2p7on$hf2$1(a)fred.mathworks.com>... > When CLEAR is called within the function, only the *function* workspace is cleared, the BASE workspace is unchanged. You should create a script instead (remove the line "function ppp" of your mfile) or alternatively use commane evalin('base','clear'). > > Bruno Even if you had to type "c" to call both "clear" and "clc" you just saved 7 chars which compared to a week of programming it's nothing. Oleg
First
|
Prev
|
Pages: 1 2 Prev: Symbolic Jacobian Next: EARN AMAZING COMMISIONS FROM ONLINE CPA NETWORK NO INVESTMENT |