For Programmers: Free Programming Magazines  


Home > Archive > Matlab > April 2005 > $0 for M-Script









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author $0 for M-Script
Stefan Seiffert

2005-04-21, 9:00 am

Hi,
I'm creating a projects path by looking for the position (which ...)
of the initialization script and then creating the path containing
the necessary subfolders.
At the moment I've got a 'static' ini-file-name.
Is there a function or another way for a script to find out it's name
- something like $0 in Shell or Perl?
Stefan Seiffert

2005-04-21, 9:00 am

Stefan Seiffert wrote:
>
>
> Hi,
> I'm creating a projects path by looking for the position (which
> ...)
> of the initialization script and then creating the path containing
> the necessary subfolders.
> At the moment I've got a 'static' ini-file-name.
> Is there a function or another way for a script to find out it's
> name
> - something like $0 in Shell or Perl?


Found it by myself:
[color=darkred]
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com