[Scilab-users] News: Scilab 6 Beta, VISA Toolbox, Embedded World 2016
Antoine Monmayrant
antoine.monmayrant at laas.fr
Tue Feb 16 13:12:40 CET 2016
Le 02/16/2016 01:00 PM, Jan Åge Langeland a écrit :
> On 16.02.2016 11:55, Eric Dubois wrote:
>> Don’t other Scilab users share my concern?
>>
>> Regards
>>
>> Éric.
>>
>>
> I have a similar (but simpler) problem, with stacksize(). All my
> old scripts containing stacksize('max') etc. need to be modified.
>
> All it will take is to keep the standard function stacksize(a) in
> Scilab 6, just let it do nothing.
Well, you have your fix: add the definition of a dummy stacksize()
function at the beginning of your init.
My 5 cents fix is this:
//on older version of scilab, set the memory to the max
version_numbers = getversion('scilab');
if version_numbers(1) < 6 then
stacksize('max');
end
that I added to all my ressource-hungry scripts.
But you are right, I don't see why they did not implement a dummy
stacksize() that just output a warning about the fact that it's useless,
obsolete and should not be used in new code.
Antoine
>
> Jan Å
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Antoine Monmayrant LAAS - CNRS
7 avenue du Colonel Roche
BP 54200
31031 TOULOUSE Cedex 4
FRANCE
Tel:+33 5 61 33 64 59
email : antoine.monmayrant at laas.fr
permanent email : antoine.monmayrant at polytechnique.org
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160216/1f62e7d2/attachment.htm>
More information about the users
mailing list