Trouble with importing data from a file

Trouble with importing data from a file - maweilian - Сообщения

#1 Опубликовано: 20.06.2012 18:28:38
maweilian

maweilian

5 сообщений из 103 понравились пользователям.

Группа: User

To all,

I haven't used Smath much for several months, good to be back! But, as I returned to using the software, I have run into trouble.

I am trying to import data from a file. Specifically, from an Excel or csv file. I am having trouble getting it to work. When I use the importData function, I get an error saying that the file is empty.



but, in reality, the file does contain data.



What am I doing wrong, and what is the best way to import this data?
Will Massie Mechanical Engineer Oregon, USA
#2 Опубликовано: 21.06.2012 03:55:22
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Hi,

I think the cause could be the "built-in default values" in arguments 2 (decimal symbol delimiter) and 4 (column delimiter) that seems not related to localization differences...

looking the example (smath.zip) in this previous post, if I change to 0 arguments 2 and 4 i could see an "empty stack" error...

EDIT: using your matrix as shown in your post, another error message should appear trying to load all 14 columns, because from 2nd rows last two arguments are missing


regards,

w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений