×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Create DLL from Mathcad

Create DLL from Mathcad

Create DLL from Mathcad

(OP)
Hello,

I would like to compile a ".mcd" file from Mathcad to a dll file, in order to use in Excel without the installation of mathcad.

How can I get this library?

Thanks on advance

RE: Create DLL from Mathcad

This would be against the business modell of MathSoft smile, because you want to use the "engine" of Mathcad without price, like a compiler.

Neither Mathcad, nor Matlab/Simulink provide such.

With Labview, its different: You might do so with the LabWindows/CVI product.

Maybe you should consider to use a FREE tool like Scilab, Octave, Gauss,.. ?!

See links for free and commercial simulation and numeric software at
http://www.hemmerling.com/html/en/simulate.html

Sincerely
Rolf

RE: Create DLL from Mathcad

Ups not Gauss... Euler smile

RE: Create DLL from Mathcad

Except that Matlab offers precisely that functionality...

Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

RE: Create DLL from Mathcad

(OP)
Thanks you very much hemmerling,

One question more, in order to use the free tools you have indicated me, Which is the better in order to import the mathcad files? If no, how can I get it?

RE: Create DLL from Mathcad

None of them will import mathcad files. That being said it is not hard to take a mathcad file and turn it into Scilab, if you are familair with both products. Scilab DOES NOT offer the possibility of creating compiled standalone programs.

If you want that you will have tp pay money. I believe O matrix may offer that.

Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

RE: Create DLL from Mathcad

Well I still use Mathcad 2001, as I missed 2001i and I am not willing to accept a softlock to a certain computer hardware as with Mathcad 11 and newer.

So Mathcad 2001 was shipped with a crippled "light" version of a simulation software "VisSim Comm LE", with some examples how to use Mathcad calculations for a controlling modell running with VisSim.

In general, with such continous simulation software like  SIMULINK part of Matlab/Simulink, there is the option to create a "C" code to put the intelligence of the controlling algorithm of the home-made simulation into an industrial controller ( with earlier versions of Scilab, there was a internal creation of C code too, but nowadays never again).

So if you got such code of just few hundreds of lines, without much overhead, of course you MIGHT include a mathematical library if "ROM/RAM space" is not the problem.

So in general, MatCad and continous simulations are for DEVELOPMENT, in the labs,

while the "real code" on the embedded application is just C-code and you have to replace the intelligence of Mathcad by your "own" library or a commercial library. So an FFT should be no problem to do with a C library without expensive tools.

The other aspect is the ability of Mathcad for symbolic calculations - which is not possible with Matlab and Scilab.
But this feature is not usual for industry applications, where you run software which was created to work with parameters with "solved"  the problem....

So advice: Solve your problems with Mathcad, and then TRANSFER the solution to your target system without Mathcad.
With Matlab/Simulink AND Scilab/Scicos, you "might" use it both for development and distribution: With Matlab you supply the "slim" C code ( so that you avoid the full license fee for distributing Matlab with each application), with Scilab you run a full version   on a windows or Linux system ( as there is no license fee )

Might you tell us about your appliation ?!

Sincerely
Rolf


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close