SMath Studio Forum
»
SMath Studio
»
Questions
»
Trouble with importing data from a file
Rank: Advanced Member Groups: Registered
Joined: 09/01/2010(UTC) Posts: 102 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 |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
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 Edited by user 21 June 2012 14:07:17(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Trouble with importing data from a file
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.