Hello,
Good solution! I did not realize it because I still use Vers 6.1.0.
My work around is the following function as inspired by
Samuel Gougeon (see url):
function [fullPath, path, name, ext, nameplusext]=pathexplode()
//https://users.scilab.narkive.com/aTRQOAMW/scilab-equivalent-of-mfilenam
Hello,
Yes this call form (available since Scilab 6.1.1) is the most portable as it
does not need to specify a script filename.
S.
On 22/01/2024 09:42, Stefan Du Rietz wrote:
Hello Jens, this line in your function or script returns its file name as you
requested:
[filepath,filename]=get_abs
Hello Jens, this line in your function or script returns its file name as you
requested:
[filepath,filename]=get_absolute_file_path();
Best regards
Stefan
On 2024-01-18 11:42, Jens Simon Strom wrote:
Hi,
I look for a command which -- as part of a script -- returns a string
containing the fi
If I understood you correctly try:
get_absolute_file_path("test.sce");
Put it in the function or script, e.g.:
fn_script = fullfile(get_absolute_file_path("Myscript.sce") + "Myscript.sce")
Kind regard, Hani
Am 18.01.24 um 11:42 schrieb Jens Simon Strom:
Hi,
I look for a comma
If I understood you correctly try:
get_absolute_file_path("test.sce");
Put it in the function or script, e.g.:
fn_script = fullfile(get_absolute_file_path("Myscript.sce") + "Myscript.sce")
Kind regard, Hani
Am 18.01.24 um 11:42 schrieb Jens Simon Strom:
Hi,
I look for a comma
Hi Jens, this line in your function or script gives the filename as you
requested:
[filepath,filename]=get_absolute_file_path();
Regards
Stefan
On 18/01/2024 11.42, Jens Simon Strom wrote:
Hi,
I look for a command which -- as part of a script -- returns a string
containing the file name or
: [Scilab-users] Get filename by script command
Hi,
I look for a command which -- as part of a script -- returns a string
containing the file name or full path name of the current script.
uigetfile() seemed to be close but does something else.
Regards
Jens
This email and any attachments ar
Hi,
I look for a command which -- as part of a script -- returns a string
containing the file name or full path name of the current script.
uigetfile() seemed to be close but does something else.
Regards
Jens
This email and any attachments are intended solely for the use of the
individual o