Is there a separate Customs Worksheet package that can be purchased?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Is there a separate Customs Worksheet package that can be purchased?
I dont need all the worksheets in the expensive Vol.1 Worksheets, I just want to see the Custom functions such as matrices to c-code. Are any of these free anywhere or can the custom functions package be purchased separately?
- Labels:
-
Other
-
Programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
This will show you how to get matrices in Prime or Mathcad to C++ code
https://www.ptc.com/en/support/article/CS167203
Article - CS167203
How to create custom functions using C or C++ programs in Mathcad and Mathcad Prime
Modified: 31-Mar-2020
Applies To
Mathcad 14.0 to 15.0
Mathcad Prime 1.0 to 6.0
Description
How to create custom functions using C or C++ programs?
How to build Mathcad DLLs in order to create custom function?
Is it possible to use the custom function in Mathcad Prime?
Cheers
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@terryhendicott wrote:
Hi,
This will show you how to get matrices in Prime or Mathcad to C++ code
https://www.ptc.com/en/support/article/CS167203
Unfortunately the only "information" this support article gives is the suggestion to use the help. I am not sure if this is that helpful enough. Here it is:
Resolution
- In Mathcad 14.0-15.0
- Users can create custom functions in Mathcad using C/C++ programs by building as Mathcad DLLs.
- Refer to the documentation under #Help > Developer's Reference > Writing Mathcad DLLs to get step by step instruction on how to develop such an Mathcad DLL.
- In Mathcad Prime
- Not part of Mathcad Prime 1.0-2.0 functionality
- From Prime 3.0, add the custom function usage, refer to the help topic: Help Center > Custom Functions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks for the responses, PTC help not that usable here. Opinion: You would think that if its in a worksheet package summary, there would be actual worksheets. But all there seems to be is this description of an article that provides no actual article or link to a much more detailed article. I assume you have to buy the whole Vol.1 worksheet package to actually get the information at a cost similar to Prime's base cost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I shouldn't think that you would find much information on Custom (.DLL) Functions in a package loaded with (Prime) worksheets. Writing custom functions has little to do with ordinary usage of Prime through it's worksheets. The purpose is to extend Prime with your own functions written in a standard (usually C, or C++) programming language, with functionality that cannot be implemented using Prime's worksheet functions and operators, or would become too slow.
Note that all the information you need for writing a Custom Function is in the online reference for Prime (at least, it is for Prime 4).
Here's a part:
Essentially it is no different from writing a custom (.dll) function for Mathcad 11...15.
Some (C) programming experience is required though.
Study the example for 'multiply', then you should be able to write your own function.
In case you get stuck, come to this forum for help.
Success!
Luc