# Items tagged with exportexport Tagged Items Feed

### Execute a maple file from another maple file and d...

November 10 2015
1 0

I have several *.mw files which I have built seperately. Now, for readability reasons, I would like to create a Master document, which will ues the first files, and then generate a PDF document.
I tried the read command, but it does not recognize the files.

Any help is appreciated.

### How to insert Maple mathematical expression to Mic...

October 26 2015
1 4

I used to convert the expression to latex code and copy the code to MathType, the insert the expression.

Is there any easier way?

I want the expression I inserted is modifiable, so copy from Maple and paste to Word is not what I want.

### Writing expressions to file in loop...

October 26 2015
0 7

I'm trying to write the results of a loop calculation to a file in maple format so that they can be read back in later.

This is a simple example.

ni:=2;
nj:=3;

writeto(outfile);

for i from 1 to ni do
for j from 1 to nj do

# complicated calculations go here
result:=(x+y)^(i+j); # this is the result (example only)
# write calculated result to file as mat[i,j]:=calculated result; # this is the critical step
od;
od;

writeto(terminal);

mat:=Matrix(ni,nj);

read(outfile);  # reads in calculated matrix

I don't want to set the result to mat in the loop to avoid memory issues while the terms in mat are calculated.

Does anyone know how to do this?

Thanks.

### Export data from dsolve...

October 16 2015
1 6

Hello,

I have the following list made with dsolve:

num_n := dsolve({c_i1, c_i2, Ecuacion_1, Ecuacion_2}, numeric, method = classical[rk4], {u(x), v(x)}, stepsize = .1);
proc(x_classical) ... end;
for i by .1 to 2 do num_n(i) end do;
[x = 1., u(x) = 1., diff(u(x), x) = 0., v(x) = 0., diff(v(x), x) = 1.]

...

But when i do :

u(1);

u(1)

Should be u(1)=1 and not u(1)=u(1).

Regards.

Carmelo.

### Output from Maple to Latex...

October 14 2015
0 3

Hi all,

I want to know how we can have the result which is made in Maple in Latex in a good style... I must prepare a report of it today, but when I copy the result from Maple to Latex, there're a lot of things to edit, also the results that are obtained from Maple are a lot, so it's very difficult for me to type it in Latex...

### How to export Maple worksheet to Latex...

October 12 2015
1 2

Dear Friends

My problem is related to exporting Maple code to Latex, to be more specific I want Latex output that look exactly same as it appears in Maple worksheet like like Red Maple prompt etc.

I have found another solution to this:

"In file menu go to “Export As”, then save file in Tex format. But in order to run this Tex file you need to have files like maple2e.sty, mapleenv.sty, maplestd2e.sty, mapletab.sty, mapleenv.def, mapleplots.sty, maplestyle.sty, mapleutil.sty(all part of package maplestd2e), these all file can be copied from C:drive where maple is installed, just copy all these file to Latex folder and you can run Tex file exported from Maple."

But this do not give exactly what I want.

Please see Maple file and its exported Tex version(Not possible to upload) along with pdf output for Maple worksheet.

### Export as Latex omitting commands...

September 11 2015
1 1

I have some large worksheets in maple which I would like to export to Latex. Currently, the exported document included both the commands and the results. For example, if the maple code looks like:

The latex document will be:

%% Created by Maple 17.01, Windows 7
%% Source Worksheet: test4Export.mw
%% Generated: Fri Sep 11 11:25:29 CEST 2015
\documentclass{article}
\usepackage{maplestd2e}
\def\emptyline{\vspace{12pt}}
\begin{document}
\pagestyle{empty}
\DefineParaStyle{Maple Text Output}
\DefineParaStyle{Maple Dash Item}
\DefineParaStyle{Maple Bullet Item}
\DefineParaStyle{Maple Normal}
\DefineParaStyle{Maple Warning}
\DefineParaStyle{Maple Title}
\DefineParaStyle{Maple Error}
\DefineCharStyle{Maple 2D Math}
\DefineCharStyle{Maple Maple Input}
\DefineCharStyle{Maple 2D Output}
\DefineCharStyle{Maple 2D Input}
\begin{Maple Normal}{
\begin{Maple Normal}{
A test equation}\end{Maple Normal}

}\end{Maple Normal}

\begin{Maple Normal}{
\begin{Maple Normal}{
}\end{Maple Normal}
}\end{Maple Normal}
\mapleinline{inert}{2d}{A = c+d}{$\displaystyle A=c+d$}
\begin{maplegroup}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{A = c+d}{$\displaystyle A=c+d$}
\end{maplelatex}
\end{maplegroup}
\begin{Maple Normal}{
\begin{Maple Normal}{
\mapleinline{inert}{2d}{}{$\displaystyle$}
}\end{Maple Normal}
}\end{Maple Normal}
\end{document}

and the output is:

Is there a way to solve this once while exporting in Maple instead of editing the latex code manually?

August 20 2015
0 5

In the below file, I have tried to create tree using Graphtheory and export it to file. But exporting works only if I read the procedure twice and that too after running the procedure.

test.mw

testproc.txt

### Problem with printing out values ...

July 31 2015
1 1

To begin with my code is:

with(Statistics);

N:=RandomVariable(Normal(5,2))

for i from 1 by 1 to 100 do

OS[i]:=Sample(N,50)

end do

for i from 1 by 1 to 100 do

print(i)

from j from 1 by 1 to 1000 do

BS[i,j]:=Bootstrap('Mean',OS[i],replications=1)

end do

end do

My goal is to produce as an output in the software's screen the values of 1000 bootstrap means for each of 100 original samples in order to export the results to Excel. Based on my basic knowledge of programming I thought that I can do that through the use of the vectors. Unfortunately though when I trigger the operation the software seems to be evaluating (with the homonymous indication in the bottom left corner of the screen) it for an indefinite period of time, obliging me to stop it at some point. However, let me point out that when I do the same process for i and j 4 and 10 for example then I have results, therefore presumably my code is correct. I know that I can do the same operation in Excel and I have already created a respective macro, however I wanted to use Maple in order to take advantage of its fast operation of calculations, which is pointless in case that I have to wait more time for the results than I have already waited to be eventually produced.

Any thought and idea would be appreciated, thank you very much in advance!

### Exporting the equations of motion...

June 04 2015
1 1

Hi,

Is there a way to export all of the equations (from MapleSim) including the casual equations? I used Multibody Analysis template and Equations template but it only exports the acausal equations.

### how can I export a matrix to matlab Exactly ...

May 29 2015
0 1

The help of maple software is not so clear , and I cant understand the exact way which leads to exporting a matrix from maple to matlab. more precisely how I can link between maple and matlab .

would you please with an example show me the rule.

### Export 3D-Plot to EPS (Vector Graphic) on Maple 17...

May 22 2015
0 4

Hi there,

I've created some nice 3D-plots. I want to export them and insert them in LaTex. Exporting to EPS gives me a zero-byte-file but no printable data.

I've already read that I'm not the first to have this issue and there is obviously a work-around by enabling the Classic-Worksheet-mode. Unfortanely this mode appears to be not available in Maple 17 under MAC OSX.

Is there another way to solve the problem?
Would help me a lot.

Thanks!

### Can Maple 2015 properly handle a Print to PDF on a...

May 14 2015
1 3

Starting with Maple 18, the Print to PDF feature caused the document page to be hard-aligned at the left margin of the page. Maple 2015 still seems to have this problem / bug.

Does anyone else have the same problem? Has a work-around been posted? Is a fix in the works after nearly 9 months?

--
JJW

### how to export a plot from maple to excel...

May 13 2015
1 3

how to export a plot with its points  (x,y) from maple to excel

### Maple 18 and LaTex...

April 13 2015
1 2

Hey

As a lot of people before me I'm severely dissappointed my Maple's ability to export a .mw file to .tex.

The output looks horrible and even disappears off the side of the page in some places.

I've searched far and wide on the internet but it's difficult for me to understand the few, outdated, results I've dug up.

Is it completely impossible to get my hands on a good (or just working) Maple 18 to LaTex exporter? It's not possible for me to begin coding my own.

 1 2 3 4 5 6 7 Last Page 1 of 9
﻿