# Items tagged with importimport Tagged Items Feed

### Import string and numerical data from...

April 25 2013 by Maple 17

Good morning everbody,

I am currently trying to get string and numerical datas from a txt.file but I don't get how to do this.
I have done this in matlab but I would like to make it in maple.
I have read other post about the subject and try tried this command:

 fd := fopen(dataFile,READ,TEXT):
fclose(fd):

A:=convert(theData,Array);but it didn't help me. 

### Import file to Maple

March 05 2013 by Maple

2

1

Hi everybody,
I have a follow problem:
Maple offers generate graph (network) for example in this way:
G:=Graph({{1,2},{1,3},{2,3}})where  {{1,2},{1,3},{2,3}} is a list of edges.In my study I need to generate a big graph (network), where list of edges is very long (contains more than 100000 edges).Can I import from my directory (for example C:\\Desktop\) file, contains edges.Now I copy from txt file all list of...

### Sums of the Vector's Components

February 06 2013 by Maple

0

2

Hi, I use Maple 13 and have this issue to solve.

In an archive.txt there is the following Vector:

-1/64*cosdincl^2*cos(2*ele-2*g-2*anom-2*w)+1/16*sinfJ*cosfK*sindincl*cos(2*ele+g-h+om-2*anom-2*w)-1/16*sinfJ*sinfK*cosdincl*cos(2*ele-g-2*h+2*om-2*anom-2*w)+1/16*sinfJ*cosfK*sindincl*cos(2*ele-g-h+om-2*anom-2*w)-1/16*sinfJ*sinfK*cosdincl*cos(2*ele-g+2*h-2*om-2*anom-2*w)+1/16*sinfJ*cosfK*sindincl*cos(2*ele-g+h-om-2*anom-2*w)+1/128*cos(2*ele+2*g-2*h+2*om-2*anom-2*w)

### Problems with Excel import

January 14 2013 by Maple

1

2

Hey guys,

I do have a problem with Excel Import.

What I wanna do is import 2 collumns from a Excel-File.

The first Column are the X-coordinates and in the second column are the y-coordinates.

After the import of the two columns (each with around 1000 rows) I would like to run a formula for each of this x/y pairs. Means for example a formula i1:=2*x+y or something like this.

And I would like to get the results also in a...

### Importing NetCDF data into Maple 15?

December 27 2012 by Maple 15

2

2

Hi

Is there a way of importing data in NetCDF format into Maple 15? This format is very widely used in atmospheric sciences as a data standard for experimental data such as satellite-derived data.

Thanks

### ImportMatrix does not work on files with ...

November 07 2012 by Maple

0

2

Hello,

I am trying to force Maple to read big matrices from files, produced by other programs (GAP in my case).

The output looks like this after it's been saved in a *.txt file:

[ [ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0,

### Using variables in a string

November 06 2012 by Maple

0

2

I am trying to write a script that will read in vector files using ImportMatrix, perform a simple calculation then output a matrix file using ExportMatrix.

The difficulty I am having is that I would like to do this on a number of files,

eg.

for i from 1 to 600 do

Mi:=ImportMatrix(rowi):

do calc....

ExportMatrix(matrixi,Mi):

end do:

The variable i is in italics...

### user defined Function

October 29 2012 by Maple 16

0

4

Hello,

1. Is it possible to create a function file in Maple and call the function(file) from the main program(like Matlab?). If yes, please give me an example case.

I want to create a function file which has the general input terms and call the function from another script file without copying/running all the code.

2. Is it possible to run 'recursive function' in maple?

3. How can I create library of my function files?(like in Matlab I can create...

### import data from a zip file

October 15 2012 by

0

8

How can we import data directly from a zip file?  Does someone know how to?

### Importing a MATLAB mat file

July 12 2012 by Maple 16

0

0

When I use ImportMatrix to import a MATLAB mat file, I get a list of names and values. Should I write a "for" loop to assign them in Maple or there is an easier way to do it?

### How to "save" data imported from an...

July 10 2012 by

0

2

Dear Maple users

I am working on importing data from an Excel-file "Data.xlsx" into Maple. This is done using the following commands:

> restart;
> with(ExcelTools);
> X := Import("Data.xlsx", 1, "A3:A63");

One strange behavior is the fact that I receive an error message: Error, (in ExcelTools:-Import) Could not open the file.

When I close the Maple file and open it again and reexecute, the error disappers and everything works....

### Using results of maple files in other...

July 07 2012 by Maple

0

1

Hi there,

I've written a maple worksheet file (*.mw) that does some long calculation and got a result.

If it matters, the result is a 3X3 matrix with different parameters (not only numbers).

So far so good.

I want to use this result in another maple worksheet file.

Can I import only the result by somehow referancing the filename and equation number in that file?

Just...

### cannot interpret file

May 19 2012 by Maple

When I use the command 'ImportMatrix', this error occourred. And I could assure that the filename and directory are true.

The file is just a simple matrix in 3 dimensions. It contains seven lines and three rows. The screenshort is just as follows.

And I want to know what's the error.

Thank you!

 Page 1 of 1