My Math Forum  

Go Back   My Math Forum > Math Forums > Math Software

Math Software Math Software - Mathematica, Matlab, Calculators, Graphing Software

LinkBack Thread Tools Display Modes
April 30th, 2016, 04:08 PM   #1
Senior Member
Joined: May 2012

Posts: 205
Thanks: 5

reading txt into maple

I have a 2 column text file, I am trying to get maple to read it using the command:

read "C:\\Program Files\\Maple 17\\file1.txt"

it finds it but gives me this:

Error, on line 1, syntax error, unexpected number:
0 1.001
Error, while reading ``C:\Program Files\Maple 17\file1.txt``

any help?
Kinroh is offline  
May 6th, 2016, 09:04 AM   #2
Banned Camp
Joined: Apr 2016
From: Australia

Posts: 244
Thanks: 29

Math Focus: horses,cash me outside how bow dah, trash doves
is there anything along the lines of .xml protocol in your txt doc? You could try putting it into an excel spreadsheet then importing that spreadsheet into the maple worksheet using the excel tools package.

then use the string tools package to manipulate your output into the desired format.
Adam Ledger is offline  

  My Math Forum > Math Forums > Math Software

maple, reading, txt

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading an Identity Law jblaven Applied Math 2 February 11th, 2014 06:23 AM
reading comphernsive goodfeeling Algebra 4 November 28th, 2013 06:25 AM
Further reading on mathematics mathbalarka New Users 36 December 4th, 2012 06:44 AM
Way of reading forumula tracid Number Theory 1 September 28th, 2010 11:33 PM
reading math le_prof Elementary Math 4 March 12th, 2010 01:25 PM

Copyright © 2019 My Math Forum. All rights reserved.