As I said yesterday, the single-line command doesn't work when selected and 
evaluated from the contextual menu that opens when right-clicking on the 
selection.

The error message,
Command is too long (more than 4096 characters long): could not send it to 
Scilab
is misleading, since the problem isn't the length of the command but the fact that it is 
in a single line of more than 4096 characters long. When the command is split into 
several lines by using the continuation mark "..", it works fine, of which I 
wasn't aware in my original post and I apologize for that.

When executing using either the "play" icon, F5 or exec(), both single-line and 
multiple-line versions of the command work as expected, of which I wasn't aware either.

Regards,

Federico Miyara


On 26/04/2023 05:17, Jean-Yves Baudais wrote:
Hello,

I wrote the vector "a" on the file "test.sce" and did

--> exec test.sce;
--> size(a)
ans  =

  1.   371.


Tested on Scilab 6.1.1. So it seems to work fine. I also tested a row
vector of 10000 "1" and it works also! (I have many sce files like that,
because I use to add "a=[" at the beginning of ascii-matrix data files,
and "];" at the end. Maybe it's not the most efficient way to read and
store data, but it's the simplest for me :-)

Jean-Yves
_______________________________________________
users mailing list - users@lists.scilab.org<mailto:users@lists.scilab.org>
Click here to unsubscribe: 
<mailto:users-unsubscr...@lists.scilab.org><mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users
This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/





[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
      Libre de virus. 
www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>

This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users

Reply via email to