# Linked Questions

40 questions linked to/from Creating Mathematica packages
0answers
3k views

### Custom package development: Basic steps [duplicate]

Every once in a while, I write a generic function that I use quite often for months to come. However, package development in Mathematica is not very well documented from what I can tell, and I was not ...
1answer
188 views

### How to efficiently split your code in several pieces [duplicate]

I want to efficiently keep my program in several documents, and initialise pieces of it automatically. I'm pretty sure that there is a manual on the subject, but I'm unable to find it on my own. At ...
0answers
437 views

### How to add my own functions to the library? [duplicate]

I would like to have my own functions (some sort of helper or utility functions) available all the times I run Mathematica. How to do that?
1answer
107 views

### How to use external Mathematica Code? [duplicate]

I have a Mathematica Notebook with a function that i would like to be able to access from another Notebook without having to have the first Notebook open. The functions calls other functions in the ...
0answers
161 views

### What is the current structure of a simple package? [duplicate]

Currently, from a variety of examples, and (mostly) the template generated by my IDE, I get: ...
1answer
48 views

### How to set the value of a symbol in a package [duplicate]

I am writing a package like this: BeginPackage["HNotation2"]; Begin["Private`"]; HTransR=3; End[]; EndPackage[]; When I load the package, it seems that the ...
1answer
123 views

### Why is a function I defined in a package not visible when I load the package? [duplicate]

I made a package containing some functions in the following way. ...
0answers
97 views

### Programming in Mathematica [duplicate]

I am new Mathematica. I used Mupad in Matlab to write many codes. The notebook in Mupad in Matlab is convenient. But I found that Mathematica has some advantages. Therefore I would like to translate ...
1answer
67 views

### After creating a package, how do I install it? [duplicate]

I have created the following package. ...
0answers
78 views

### Create library of custom functions [duplicate]

I have been trying to create a library of custom functions that I could just call at the start of every notebook. For instance, say I want the following functions to be part of the Library, or even ...
0answers
63 views

### Basic mathematica coding package examples [duplicate]

Since Google and Mathematica documentation has proven utterly useless at answering my question... Does ANYONE have some BASIC examples of how to code up a package? For my course work, I have to ...
0answers
59 views

### function from .wl produces no output [duplicate]

I'm trying to learn to reuse functions. I have created a .wl file with the following content. As I understand the last line without semicolon is the function output. Should each function have it's ...
0answers
53 views

### Is it possible to create complicated packages from modules which work fine by copy paste? — A counterexample [duplicate]

Here is a module which constructs essentially several functions in a chain [Phi], sct, ks, WE, G: ...
0answers
39 views

### Is it possible to have a function with non-global parameters? [duplicate]

If I have functions in two packages that have parameters such as length_, width_ and height_; is there any way to have both packages loaded without generating messages such as "Symbol length appears ...
0answers
22 views

### Problem with using modules from a package or separate notebook [duplicate]

I saved some modules into the same package or notebook which I call ModuleLibrary.m I then get/call this package using ...

15 30 50 per page