|01 Nov 2014||From Simulink to DLL - A tutorial Describes how to build a DLL or shared library from a Simulink model.||Xiaofeng||
Good for me.
|07 Jul 2014||From Simulink to DLL - A tutorial Describes how to build a DLL or shared library from a Simulink model.||G||
need some help
|18 Sep 2012||From Simulink to DLL - A tutorial Describes how to build a DLL or shared library from a Simulink model.||Xiongzhe||
I have an applicatoin:
generate DLL from a simulink model, DLL is called in an external c program, when DLL initializes, it will load mat file and variables in m files.
can i change the m files without recompile the DLL?
|26 Apr 2012||Lakshmi Narayanan||
Need some help on this.
When I have generated the code and update the grt_shell.c file for inputs and outputs I tried to build the DLL as mentioned in the section 4.6. when I execute the command gmake –f ($NAMEOFMODEL).mk I am getting an error “:128: *** missing separator. Stop.”.
Any suggestions would be much appreciated.
|26 Apr 2012||Venkatakrishna Moorthy||
We are getting the error ' NMAKE : fatal error U1073: don't know how to make 'cn_main.ofile'
This is appeared when we try to build the CANoe supported model. We are trying to interface Matlab into CANoe using the dll generated by the Matlab. But dll is not generated. Can anybody have a answer, please let us know.
|23 Mar 2011||Imran||
i can follow till 5th step of 4.6
this donot match with step 4.6 - 6 so what am i doing wrong?
|19 Jan 2011||Siti khadijah ismail||
hii.. i cannot create dll. the error shows that
|15 Dec 2010||Gianni|
|15 Dec 2010||Gianni||
can someone explain me hot to solve this problem? or please send me the code that I need to continue?
|27 Sep 2010||Nick Clark||
Good stuff here. Thanks! I'd just like to add a little bit. For those who don't know pascal, please see the python script pasted below. This can be used to test your dll. This specific example is for 3xinput and 2xoutput:
from ctypes import *
# first make some hooks into the impported functions
# This makes python realise that the function outputs are pointers to c_chars
print "\n\nNow to do some stuff"
outputDoubles = 2*c_double
#The following line shows two different methods for passing the pointers in
|25 Aug 2010||mohammed Hanneef||
Nice information, thank you
|15 Oct 2009||Patrick||
I had a similar error to Dennis from a project I was compiling and linking into a project here at work. Turns out I hadn't set up the Configuration Parameters correctly (Tools -> Real Time Workshop -> Options). After I had set these up appropriately the error went away.
|23 Aug 2008||Dennis Jimmy||
Hello Roland Pfeiffer,
|15 Jun 2008||liu hz|
|19 Mar 2008||Rajan R||
|24 Apr 2007||Dennis Wouters||
This document really kick-started my work. Thanks.
* Derive a custom TLC from the grt.tlc file using the "Custom Target" example in the RTW Embedded Coder documentation, which does NOT require RTWEC, only RTW. (This is easy.)
This will give you the opportunity to configure the model to build directly to a DLL without any manual intervention!
|19 Mar 2007||Diego Barragán||
|10 Oct 2006||Jaspreet kaur||
I want to use matlab program in VB
|20 Jul 2006||Scott Reeder||
Very good tutorial. I would recommend adding RTW to the keywords for this tutorial.
|17 Mar 2006||Stefan Lindhuber||
Excellent step-by-step tutorial. It helped me to save a lot of time.