To illustrate my previous message, here is an example :

> cd T:\test

> edit script.m

>    % creating a script containing the line:  disp('hello world !')

> script

hello world !

>    % so it works !
> 

> cd ..  % going to the root of this filesystem T:\

> pwd
ans = T:\
> edit script2.m
>    % creating a script containing the line:  disp('hello again')

> script2

error: `script2' undefined near line 7 column 1
>    % doesn't work, but the script is here :
> dir

.        ..       script2.m

> quit
> 
>    % new Octave session
> cd T:\
> script2

hello again

>    % now it works
>
-- 
View this message in context: 
http://old.nabble.com/User-scripts-functions-created-during-a-session-are-not-found-tp29641625p29647520.html
Sent from the octave-dev mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to