My Math Forum  

Go Back   My Math Forum > Math Forums > Math Software

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


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

Posts: 203
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?
thanks
Kinroh is offline  
 
May 6th, 2016, 09:04 AM   #2
Senior Member
 
Joined: Apr 2016
From: Australia

Posts: 156
Thanks: 22

Math Focus: prime number theory
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  
Reply

  My Math Forum > Math Forums > Math Software

Tags
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 07:23 AM
reading comphernsive goodfeeling Algebra 4 November 28th, 2013 07:25 AM
Further reading on mathematics mathbalarka New Users 36 December 4th, 2012 07: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 02:25 PM





Copyright © 2017 My Math Forum. All rights reserved.