środa, 9 stycznia 2013

including mathematica code

Sometimes it is useful instead of creating mathematica package, and a mathematica file with some code which is included in different mathematica code.

It can be easily done.

1) First create the mathematica code in the inputform, with extension txt.

2) Then in the main mathematica document include this file Get["file.txt"].

Brak komentarzy:

Prześlij komentarz