x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

How to use Functions from Mathematica in UE4?

Some mathematical functions are just a bit too complex to construct using existing nodes, so I wonder, if there are ways to write functions in other mathematical softwares like Mathematica or Matlab and then import them into the intended project without any code so that they can be easily constructed and employed?

Product Version: UE 4.21
Tags:
more ▼

asked Mar 13 '19 at 09:57 AM in Blueprint Scripting

avatar image

ANoobyBird
47 4 4 10

avatar image The Qweaker 6 days ago

While working on such a link (I'm a certified Mathematica teacher and I do teach UE4 as well), I see your question.

It's been 2 months; have you made any progress regarding this?

If yes, please, how far have you been?

If not, I'd like to contact you offlist to get a detailed picture of the features you want.

Thanks!

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I dont think there is, only thing i found is this but it seems it requires Matlab to be turned on:

https://www.unrealengine.com/marketplace/en-US/slug/mathworks-interface

No body consider making this kind of support, because you got C++ and keep in mind that all it needed for you code to work in binary module dll, which you probably already using via 3rd party plugins not to mention entire engine is constructed out of those modules. So all you need to do is distribute you project with dll and your coworkers don't need to have VS installed, you can also make a plugin which is easier to destitute independently and can be used in multiple projects without doing copies of same code over them.

But not only you got C++ but also math expression node:

https://docs.unrealengine.com/en-us/Engine/Blueprints/UserGuide/MathNode

You also have function and macro blueprint libraries, allowing to compress complexity of similar patters to single nodes, recreate complex functions you need:

https://docs.unrealengine.com/en-us/Engine/Blueprints/UserGuide/Types/MacroLibrary

Considering in order MatLab or Mathematica code in UE4 to work you would need to make Blueprint VM to work or to make different VM on top of it, C++ seems like simpler option. Not to mention there might be licencing issues on top of that

more ▼

answered May 14 '19 at 10:04 AM

avatar image

Shadowriver
35.7k 925 168 1104

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question