>>> "Torben" == Torben Knudsen <[email protected]> writes:
> Dear Uwe
> Maybe I misunderstand the problem. If I make sure the diectories are
> on the search path using e.g. addpath and maybe genpath I have no
> problems when running m-files from different directories using
I am afraid I did not explain this well enough.
I don't want to set a path.
Rationale:
I have to correct a bunch of .m files of my students which they wrote in
an exam. Although I tell them to add their familiar name to each file,
some of them forget that and I end up with files like examn.m
So if I set paths I could never be sure which file I execute.
However I found two solutions to my problem:
- I just boldly used the function from Xemacs dired.el
- even better the variable matlab-change-current-directory which I
had set to t in Xemacs and nil in GNU emacs solves completely my problem.
@Eric: I obtainted that variable from a patch I found in the matlab
newsgroup.
It is applied to main I trust?
Regards
Uwe Brauer
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Matlab-emacs-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss