[Scilab-users] CSV Building

Davide Daloisio d.daloisio at enginsoft.com
Tue Nov 24 14:51:23 CET 2020


Thanks Christophe for your suggestion. I managed to solve. But later this
error message appeared:

exec('D:\users\A_DLO_AreaTecnica\A_DLO_R&D\R&D\REM\ROMCRF\to_DLO\Input\first_opt\script_interpolazione.sci',
-1)
at line     8 of executed file
D:\users\A_DLO_AreaTecnica\A_DLO_R&D\R&D\REM\ROMCRF\to_DLO\Input\first_opt\script_interpolazione.sci

inconsistent row/column dimensions

Davide Daloisio

*Application Engineer *


*SPDM - Simulation Process and Data Management*

[image: EnginSoft]

*LinkedIn*: https://www.linkedin.com/in/davidedaloisio/

*Office*: +39 0461 979338

*Mobile*: +39 347 8769382

*e-mail* : d.daloisio at enginsoft.com

www.enginsoft.com

www.caeconference.com
------------------------------------------
Please, consider your environmental responsibility!
Before printing this e-mail ask yourself: "Do I need a hard copy?"


Il giorno mar 24 nov 2020 alle ore 09:35 Dang Ngoc Chan, Christophe <
Christophe.Dang at sidel.com> ha scritto:

> Hello Davide,
>
> > De : users <users-bounces at lists.scilab.org> De la part de Davide
> > Daloisio Envoyé : lundi 23 novembre 2020 17:13
> >
> > So I am writing a new matrix with two vectors that have the same
> timestep.
> > In this specific case I have a time vector with a timestep (step) of
> > about 2E-
>
> When you're writing:
>
> A = B(C)
>
> Where B is a matrix, then C must be a matrix of Booleans (the cells you
> keep or reject) or of integers (the indices).
>
> So the code
>
> t_vel(1:step:l_vel)
>
> is not valid as step is not an integer.
>
> I'm not sure what you're trying to do but I guess you should try something
> like:
>
> new_t_vel = t_vel(1) + step*(0:l_vel);
>
> Hope this helps
>
> --
> 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 at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20201124/123a1057/attachment.htm>


More information about the users mailing list