[Scilab-users] Difference in output from mtlb_dir function between 6.0.2 and 6.1.1

Samuel Gougeon sgougeon at free.fr
Wed Jul 1 10:17:53 CEST 2020


Hello Chris,

Le 30/06/2020 à 13:03, Chris O'Shannassy a écrit :
> Hi;
>
> I just installed SciLab 6.1 on my Mac, and unfortunately I’ve tripped 
> over running doing my first task.  I have a few small scripts which 
> work fine under 6.0.2, using the mtlb_dir command to get a file list 
> to process.  It seems like the output of the mtlb_dir command under 
> 6.1 is different from that of 6.0.2 - which is causing my subsequent 
> commands to fail.  I can rework the scripts so they don’t rely on 
> mtlb_dir, but I thought I should flag it as an issue.

The output of mtlb_dir() has not changes, just the display of its 
result. The reason is now reported 
<http://bugzilla.scilab.org/show_bug.cgi?id=16484>.
Let's take the opportunity to see that mtlb_dir() is not up-to-date wrt 
the matlab version:
* nothing should be printed when no argout is specified. This is now 
possible in Scilab, since 6.1.0
* there are 2 missing fields: datenum, and folder.
* .. and maybe other differences.

6.1.1 is being fixed against the display issue. In addition, the 
parasitic "dims" field that was formerly returned is removed in 6.1.1.

A question: why don't you use the official scilab dir() function?

Regards
Samuel


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


More information about the users mailing list