[Scilab-users] "Recursive extraction"

JLan j-lan at online.no
Tue Oct 20 15:30:56 CEST 2015


It seems like only one output argument can be assigned to a function for
recursive extraction. So instead of different variables in the output
argument list, assign the different parameters to a matrix:

function x=getversion2()
   [a b]=getversion()
   x(2:size(b,2)+1)=b
   x(1)=a
endfunction

--> getversion2()(2:6)
 ans  =

!VC++  x64  modelicac  release  Oct  2 2015  !

J



--
View this message in context: http://mailinglists.scilab.org/Scilab-users-Recursive-extraction-tp4032660p4033019.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list