[Scilab-users] "Recursive extraction"

Samuel Gougeon sgougeon at free.fr
Tue Aug 4 14:48:27 CEST 2015


Hello Scilab Team,

The so-called "recursive extraction" was presented at the last 
ScilabTech as a new feature in Scilab 6.
I did not caught the full meaning of it until i realized that for 
instance it will now be possible to write simply
gca().isoview = "on";
instead of splitting this into 2 instructions
a = gca();
a.isoview = "on";
This application to addressing handles attributes is smart and welcome.
The example shown at the ScilabTech was about a function rather than an 
handle.
When trying to use it, it looks to fail, at least sometimes or for some 
objects.

Let's try on getversion():
--> [v, o] = getversion()
o  =
!ICC  x64  modelicac  release  Jul 29 2015  21:07:12  !
v  =
  scilab-6.0.0-alpha-1

Now, i am interested only in the 2nd output argument (this kind of 
example was shown):
--> o = getversion()(2)
Invalid index.

--> [v,o] = getversion()(2)
Wrong number of output arguments.

What am i doing wrong?
By the way, this feature is not listed among new ones in the 6-a1 
release notes.
Did you change your plan about "Recursive extraction" in Scilab 6?

Best regards
Samuel



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


More information about the users mailing list