Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Importing DLL generated from simulink model with S-function,Importing a DLL of a simulink model of an S-function generated by Matlab Real time workshop

$
0
0
This may be an issue more on the matlab/simulink side but the error is showing up on Unity and I was wondering if anyone else has worked on this before and could possibly help me. I need to import a DLL into Unity which was generated from a simulink model with an S function. For a simple example, the S function just multiplies an input number by 2. The dll succesfully generates however when imported into Unity and used in a script attached to an object, Unity always crashes upon entering play mode. It seems to be working fine when the DLL generated is of a simulink model that does not have any S-function. Has anyone ever experienced something like this before? Any leads would be great. Thanks in advance. ,Hi. This is probably an issue more on the Matlab/Simulink side but the error I'm facing is mostly to do with Unity. I need to import a dll generated by a simulink model with an S-function onto Unity 3D. For a simple example, the s-function in the simulink model just multiplies an input number by 2. However whenever I import this DLL into unity, attach it onto an object and then run the script, Unity always crashes. Every time I import a DLL whose model does not have any S-function it works perfectly fine. Has anybody worked on this before and faced any similar such issues? Any leads would be great. Thanks in advance.

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>