[scilab-Users] uigetfile : how to filter file with the first character

Samuel GOUGEON Samuel.Gougeon at univ-lemans.fr
Wed Feb 23 17:49:39 CET 2011


  ----- Message d'origine -----
De : Loïc GIROD
Date : 23/02/2011 16:52:
>
> Hello,
>
> I would like to use the function uigetfile by specifying the first character 
> of the file to select.
>
> For instance, I would like only files starting with "P_" like P_80, P_102...
>
> I've tried with the following code :
>
> uigetfile(["P_*.*"],"",'select P file')
>
> but the dialog box selecs all extensions (*.*).
>
> Is there a way to do that ?
>

It was possible with the former tk_getfile() (Scilab 4.1.2), while it has
regressed with uigetfile() and is no longer possible with Scilab 5:
See http://bugzilla.scilab.org/show_bug.cgi?id=4847

Do not hesitate to post on this Bugzilla thread, to awake it.

Regards
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110223/c46fe6a4/attachment.htm>


More information about the users mailing list