[Scilab-users] linspace() generates error 21 - Invalid index.

Piotr Grudzinski piotr at powersmiths.com
Mon May 11 16:26:44 CEST 2015


Hello all,

There is a file attached to this email to demonstrates the problem.

The callback of the second button calls test_linspace() and there is no problem.

The callback of the first button calls rb_selected() which then calls
test_linspace() and the following error is generated:


 button 1
 !--error 21
Invalid index.
at line      22 of function linspace called by :
at line       2 of function test_linspace called by :
at line       7 of function rb_selected called by :
allbackobject(225);rb_selected(1);if exists("%oldgcbo") then gcbo
while executing a callback

Am I doing something wrong?

Regards,
Piotr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_linspace.sce
Type: application/octet-stream
Size: 1899 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20150511/9256eb4f/attachment.obj>


More information about the users mailing list