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.
↧