Christopher,
Yes, you understand correctly my case.
There is a reason that justifies my request: I often use my scripts as
examples within a didactic context. They are exhaustively commented, for
instance. I consider it preferable to have all the needed data in the
same script since I cannot be sure that potential future users who find
my script will also find the associated file with the data (sometimes
one downloads a file for future use without checking whether we are
downloading all the associated files).
Then they should also change the script according to the particular
directory tree where they choose to place the data, which is an
unnecessary distraction from the very point of the example.
I agree that it wouldn't be convenient nor practical to work in this way
with very large data sets, but some 1000 data is not unusual.
Regards,
Federico Miyara
On 17/11/2022 05:16, Dang Ngoc Chan, Christophe wrote:
Hello Federico,
De : users <users-boun...@lists.scilab.org> De la part de Federico
Miyara Envoyé : jeudi 17 novembre 2022 03:36
I have to create a vector from a plain text containing about 700 decimal
numbers, each one with several digits.
[...]
Is there a simple way to do this other than [...] saving the data as a
text file
To be sure I understand well :
in your Scilab script, you have something like
foo = [3.14, 1.414 ; 1.732 ...
with the 700 numbers written inside your script?
Of course your request is legitimate but IMHO, this is really not the best
practice.
I warmly recommend to have the 700 numbers in a separate file.
Regards
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
General
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error), please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.
_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
http://lists.scilab.org/mailman/listinfo/users
--
El software de antivirus Avast ha analizado este correo electrónico en busca de
virus.
https://www.avast.com/antivirus
_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
http://lists.scilab.org/mailman/listinfo/users