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

Save a user-defined function

Save a user-defined function

Save a user-defined function


Is there any way to save a user-defined function so that it was acessible from any new-opened Mathcad document without having to copy its definition each time?

Thank you in advance,

RE: Save a user-defined function

Yes.  You put it in your Normal worksheet template (or use a different name for your template).

You can find it in the Mathcad Template folder; it will be normal.mct for M11 and below, and nomal.xmct for M12 and above.  Simply open the template, copy the function to it, and save the template.  All future worksheets created with this template will include the function.

If you want to make its appearance less obtrusive, put it into an Area (main menu, Insert-Area) at the top of your worksheet and collapse the Area (see Help if you're uncertain how to do this).  

Have a look at the worksheet I posted in the WRITEPRN thread for examples of collapsed Areas containing functions - the four Areas are all in my normal template.

RE: Save a user-defined function

Thank you very, very much excognito for your help. Now everything works perfectly fine.


RE: Save a user-defined function

No worries

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


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