Items tagged with save save Tagged Items Feed

Hello,

I would like to ask if one can divide the maple worksheet (mw) to multiple files like series of command. It could be simillar to include in C++. I have found only save and read command but they can be use only for variables or they can be use in other way ? 

Thank you for any possible solution,

vidocq

I have the  following simple code in Maple:

x:=2*y

save x, "file1.mpl";

This code works successfully in Maple 13 and 14. However, does not work in Maple 17.  I do not understand why this happens. Can anyone help me to save a procedure in Maple 17.

 

Hi everyone

I am currently trying to make my own simple package including a few procedures. So far I have been able to write some "code" that actually works when I open the document and hit "enter". I would, however, like to save the package so it can be accessed during any Maple session using the command "with". I have unsuccesfully tried to comprehend the Maple help pages regarding this question but I definitely don't want to mess things up.

This is what I have written:

mat := module ()
description "useful procedures for mathematics, physics and chemistry";
export AtomicWeight;
option package;

   AtomicWeight := proc (x) description "returns the average atomic mass of the naturally ocurring element";
   Units:-AddSystem(NewSystem, Units:-GetSystem(SI), u);
   return evalf(ScientificConstants:-Element(x, atomicweight, system = NewSystem, units))
   end proc

end module;

What should I do to save it correctly?

Thank in advance,
Mads


 

 

 

 

Hi there,

i want to generate some plots in files in this example:


this code doesn't work. but without restart; it works fine. i passed 2 days to figure out that "restart;" was the problem.

my questions are :

1. why i have to eliminate the first line of restart;

2. how can i save my files in a directory that is in the current directory. For example i have a directory in current directory named "plotFILES".

thanks in advance for your help

what does Maple save?...

September 15 2013 awass 171

If I save a worksheet after an interactive session and then return to it at a later date I have to re-execute all my commands, redefine my functions etc. but my previous plots are "kinda" remembered by Maple. For example, if I had previously executed the command
> display([p||(1..50)], insequence = true);
then that plot will be active in the sense that I can run through the 50 plots, stop at any plot, etc.
So in that sense Maple has saved the plots. But if I want...

Hello,

 

I think the answer to my question is not there yet.

So I would like to save some variables in a .m file in an another folder without using the whole C:/.../ thing.

The reason why is that I am using a windows and a mac so if work on my mac I can still execute my reading and my writting commands on my mac.

 

the file I want to write from is located in :

/Maple_projet/Code/Timoshenko/

and the folder I want to write to is in

I'm running Maple 12 on my Windows 7 machine, 64-bit.  I never had this issue before when running in on XP (32-bit) for a couple years before I got a new machine.

Basically, whenever I go to Save or Save-As, Maple just closes.  It doesn't freeze or anything, just closes.  This problem is sporadic - sometimes it happens and sometimes it doesn't.  At first it was only doing it with Save and I overcame the problem by just making multiple versions of...

I have been running Maple 11 since 2007.  Recently my PC was upgraded to Windows 7: upon reinstallation I appear to still have full mathematical functionality but can no longer save files. The "Open" button/menu are both equally unresponsive, although I can open old files by double clicking on them,

Please could you advise how I can resolve this issue.  Thank you.

I created a maplet in maple using the following codes:

> restart:
> with(Maplets[Elements]):
> m5:=Maplet(
> Window('title'="Turev",
> [
> ["Fonksiyon:",TextField['Y1']()],
> ["Turev Degiskeni:",TextField['Y2'](3)],
> TextBox['TB1']('editable'='false',3..40),
> [Button("Turevi Hesapla",Evaluate('TB1'='diff(Y1,Y2)')),
> Button("Tamam",Shutdown(['Y1','Y2','TB1'])),
> Button("Temizle",SetOption('Y1'=""))]

Hello,

I just lost the result of a 20h calculation due to the last-name evaluation using tables. Consider that

t := table([1=2]):
s := t:
save s, "table":
restart:
read "table":
s[1];

evaluates to t[1]. The save command only...

Every time i open an already saved document and change it then try to save it it comes up with this error:cwmaple.exe has stopped working!!! Why does this happen??

 

 

Please Help

 

Thanks,

Hello. It World be greate if you could ad a maple file viewer to the Maple Player for the IPad and similar products. It is a greate tool when you are on the move and do not have you pc with you to do the calculations on. I use Maple a lot at my studies at the university of southern denmark, at when I talk to my study mates about a problem, it would be greate to be able to open maple files from you pc on the ipad. I save my documents to my Dropbox, so I always have then nearby....

After numerically solving an ODE, I want to save the solutions as a .dat file. I got this from the internet net for PDES and tried by adapt it to odes using dsolve. But I get this: Error, `sol` does not evaluate to a module 
PDE := diff(u(x, t), t, t)-(diff(u(x, t), x, x))+.2(diff(u(x, t), t))-1/2*(u(x, t)-u(x, t)^3) = 0;
 IBC := {u(-15, t) = -1, u(15, t) = 1, u(x, 0) = tanh(x), (D[2](u))(x, 0) = -1/cosh(x)^2}; sol := pdsolve(PDE, IBC, 'numeric', u(x, t...

Hi, whenever i save the worksheet, all my previous calculated solutions are missing and I need to execute it all over again. Is there a way to keep the previously run data because it is a long worksheet and takes quite sometime to run it. Please advice. Thanks.

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....

1 2 3 Page 1 of 3