Does MapleSim 6 cover temperature dependent fluid media? In the modelica standard library (MSL), there is for example a medium model for T-dependent properties, defined by tables or polynomials (Modelica.Media.Incompressible).

Is it included in MapleSim 6 or can be somehow modelled?

Thanks!

How to show the code in file with extension .lib and edit it?

Hello,

I have defined a function(say fun) to do certain task, it works well when I call it from a script file(say script1). However, when I copy the complete script1 and paste onto another script file(say script2), the function, fun, doesn't execute. It's very peculiar as my project requires lot of modification, so I copy the old script and...

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

Hi,

I want to put some code into a Maple library. I'm new to producing packages. The following code runs OK, but when I try to use one of the procedures added by the LibraryTools[Save] command, Maple returns

input: MySum(a, b);output: MyMapleLibrary:-MySum(a, b)

Why does Maple return an unevaluated call to MySum?

The code is below:

restart:with(LibraryTools):MyMapleLibrary:=module() description "A sample Maple library.":

In chapter 2 of the Advanced Programming Guide, it says:

"Important Always ensure that the standard Maple library is write-protected to avoid saving expressions in it. If you accidentally save something to the standard Maple library, you may need to restore the original from media on which you obtained the Maple software".

How do I make the standard Maple library write-protected? Is it by marking as read-only the following folder?

I wrote a procedure and saved it into a .mla library, then accidentally lost the file containing the initial code. Can I get it back from the library ? I didn't find the answer in the help on LibraryTools.

Thank you.

Hi!

I've got this annoying problem and it's quite simple reproducible.

> with(GraphTheory): G := Graph({{a, b}, {b, c}, {c, d}}); Edges(G);

Edges(G) returns me

Error, (in EdgesExt) external library libgraphtheory.so could not be found/used

It's the first time I encounter such a problem and have no idea on how to solve it, any advice?

I can see that libgraphtheory.so...

any software help to see the Maple code inside the library with extension .lib?

This is branched from Maple 16.01

I don't know the reason for the break. In trying to replicate the graph shown for Mathematica for Maple I am finding it difficult to locate the number of mathematical functions for various versions of Maple.

The only reference I find is that Maple 16 contains over 5000 mathematical functions, many more than Mathematica 8, but they are programmed different so I can't compare that. However trying to compare it...

I have a problem with inputting a new package in my version of maple (15) for mac. The packes makes it possible to do calculations with cos/sin/tan in degrees instead of radians. I need to use this for my Engeneering studies in Denmark.

In pc you just place the package in the labrary subfolder under the Maple 15 folder, but i can't find that subfolder anywhere on my mac?? Where should i put the package to make it work? I have 2 files; "Trig.ind" and "Trig.lib" - whichone to use?

I wrote my own maple library. Some of its procedures require the LinearAlgebra-library.

Is there a way to automatically load LinearAlgebra when loading my library? (I tried to use 'use' but it didnt help )Currently i load my library with

read "/home/..../something.lib";Is there any good refernce to learn how to write maple libraries the right way? the maple help isnt actually very helpful.

I am considering bu;ying an imac and want to run maple 15. I have a personal library, called Mylib. I use on my windows platform. I use an ini file that maple 15 reads when it first opens. In this file I modify libname with the statement,

> libname:=libname,"c:\Mylib";

My question is how do I do this on the mac version of maple?

I downloaded the Modelica_Fluid 1.0 Library from the Modelica website. When I try to import this library into MapleSim5 I get the following error:

Duplicate class definition found for Modelica_Fluid.Pipes.BaseClasses.WallFriction.Detailed.msim/UNKNOWN

I then click "ok" and the importing stops working with the last message being:

Querying Modelica classes...

Can anybody offer help with this?

Christian

With Maple15.01 on a x86_64 linux box running Fedora 14, I get the following error when trying to run a basic comand from LinearAlgebra:

> with(LinearAlgebra);> R := RandomMatrix(4, 4):> Eigenvalues(R);Error, (in ifactor/SmallFactors/ext) external library libmodLA.so could not be found/used

Could someone please tell me what the required environment setup is so that Maple can find and use the external shared libraries?...

You must be logged into your Facebook account in order to share via Facebook.

Click the button below to share this on Google+. A new window will open.

You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

Please log-in to your MaplePrimes account.

Wrong Email/Password. Please try again.