Group Abstract Group Abstract

Message Boards Message Boards

Access a function created in Mathematica in visual studio (vb.net)?

Posted 9 years ago
POSTED BY: Patrick Cesarano
4 Replies
Posted 7 years ago

Did you ever figure this out? I am having the same issue currently. I don't think the executable is the answer but I think it is close. I think it would be better to create a dll for the Mathematica function and then reference it using Visual Studio. However, the issue that I am having is that Visual Studio really wants a C++ dll and the one that Mathematica outputs is a C dll.

POSTED BY: Jamie Dixson

The disadvantage of generating C code being that it does not work for all Mathematica code. APIs do not have this restriction. A fact that may be relevant since you mention that your function f is complex.

POSTED BY: Peter Heemeijer

Have you tried cloud-deploying an API with your function f, and then calling f within Visual Studio using the API's URL?

POSTED BY: Peter Heemeijer
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard