O'Reilly logo

Mathematica Data Analysis by Sergiy Suchok

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Interacting with .NET programs

One of the distinctive features of using .NET in Mathematica is that in order to use all the capabilities of .NET, we don't need to write code at all. You can write a program right within the Mathematica environment. In this section, you will learn how to download .NET assemblies and types directly to Mathematica, as well as how to create objects from these types, call methods, properties, and so on.

In order to enable Mathematica's functions to interact with .NET, you need to download the NETLink package:

Needs["NETLink`"]

To run the .NET environment, it's necessary to run InstallNET[]. In case of an active development and a change of .NET classes to restart the environment, it's convenient to run ReinstallNET[].

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required