Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create DLL from Mathcad

Status
Not open for further replies.

Iesbad2

New member
Oct 1, 2005
10
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
 
Replies continue below

Recommended for you

This would be against the business modell of MathSoft :), 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

Sincerely
Rolf
 
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.
 
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?
 
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.
 
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


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor