Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
Offline maweilian  
#1 Posted : 21 June 2012 01:28:38(UTC)

Rank: Advanced Member

Groups: Registered
Joined: 09/01/2010(UTC)
Posts: 102
United States
Location: Oregon, USA

Was thanked: 5 time(s) in 5 post(s)
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?

Edited by user 21 June 2012 01:32:06(UTC)  | Reason: Not specified

Will Massie
Mechanical Engineer
Oregon, USA
Offline Davide Carpi  
#2 Posted : 21 June 2012 10:55:22(UTC)
Davide Carpi

Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,254
Location: Italy

Was thanked: 1142 time(s) in 747 post(s)
Hi, Good

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



Edited by user 21 June 2012 14:07:17(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.