Answered
How to burn a mex(.m) file to a hardware like tms32067xx series??
MEX-files are basically shared libraries (ie, .dll on Windows, .so on Linux, etc.) that link against MATLAB run-time libraries. ...

14 years ago | 0

| accepted

Answered
Generating matlab model for veristand simulation
What system target file have you chosen for code generation? It looks like this may be a third-party provided custom target that...

14 years ago | 0

Answered
Changing the Sample Time of a C-MEX s-function block in time simulation
Are you using a variable-step solver? If yes, you may find the <http://www.mathworks.com/help/toolbox/simulink/sfg/f4-32206.html...

14 years ago | 0

Answered
Cannot execute an mcc created standalone executable that employs a mex file
This seems to have been a bug in versions older than R2006a, when the MATLAB Compiler Runtime is installed in a directory path c...

14 years ago | 0

Answered
Using external interface along with model referencing
According to <http://www.mathworks.com/help/toolbox/ecoder/ug/bq44n8v-mu.html#bq9240b-83mn this page> in the documentation: ...

14 years ago | 1

| accepted

Answered
ERT code generation customization
You shouldn't need to modify TLC files to do this. You only have to specify the right storage class for your input/output signal...

14 years ago | 1

| accepted

Answered
Execute matlab files from C sharp
You might also want to explore interfacing with MATLAB by starting it as a <http://www.mathworks.com/help/techdoc/matlab_externa...

14 years ago | 0

Answered
Shifting a wave in time domain in simulink
The best you can do is to actually use a zero signal until time=2 and then switch to your actual signal - this can be done by us...

14 years ago | 1

Answered
coder.extrinsic
Yes, it is necessary to declare functions unsupported for code generation using coder.extrinsic. See <http://www.mathworks.com/h...

14 years ago | 1

| accepted

Answered
matlab coder error
The error is occurring because you are calling an extrinsic function (input) that is not support for code generation. Therefore,...

14 years ago | 1

Answered
Using MEX compiler options "-Dname=value"
See <http://www.mathworks.com/help/techdoc/ref/mex.html#bq6x7bj Override Option Details> in the documentation for the MEX comman...

14 years ago | 0

Answered
Calling Matlab function from Visual C++ application.
I would recommend that you first try the <http://www.mathworks.com/help/toolbox/compiler/f2-972343.html C Shared Library Target>...

14 years ago | 0

Answered
Different integration time step in Matlab and Simulink with ode45
In Simulink, ode45 is a variable-step solver, so depending on the dynamics of your system, it will take a time-step just small e...

14 years ago | 0

Answered
Unresolved external symbol: SDL/OpenGL libraries linked from MEX using Visual Studio
It seems to me like the issue really is because you are attempting to link a 32-bit static library against a 64-bit MEX function...

14 years ago | 1

| accepted

Answered
how to select targettype for simulink coder
# I don't believe Xilinx System Generator blocks are supported for generating C/C++ code - you can only generate HDL from them. ...

14 years ago | 0

| accepted

Answered
Create .lib file with matlab compiler
I don't know that it is possible to create a static library using MATLAB Compiler. The .lib file that you see generated is the <...

14 years ago | 0

Answered
How do I adjoin additional #include paths to generated Makefiles in RTW
When you say "I'm implementing an addition to someone else's block-set" - do you mean that you are adding/modifying S-function d...

14 years ago | 0

Answered
xpctarget ping fails
I don't have much personal experience with this, but this documentation page might help: <http://www.mathworks.com/help/toolbox/...

14 years ago | 0

Answered
Simulink and C++ program cosimulation
Yes, you can create a <http://www.mathworks.com/help/toolbox/simulink/sfg/f3-53015.html C++ S-function> block and use your C++ a...

14 years ago | 0

| accepted

Answered
Can I give MATLAB commands in series from the OS command prompt?
You can call into the <http://www.mathworks.com/help/techdoc/matlab_external/f29148.html MATLAB Engine> or invoke the <http://ww...

14 years ago | 0

| accepted

Answered
Calling a MEX file from C# application...
MEX-functions call into MATLAB run-time libraries, so you do need to have MATLAB, or if you are using MATLAB Compiler-based prod...

14 years ago | 1

Answered
Creating custom library
You need to create an inlined S-function block to represent your device drivers. See <http://www.mathworks.com/help/toolbox/rtw/...

14 years ago | 0

| accepted

Answered
I get the error (Method was not found) with some library functions when i try to exsecute them using the calllib camand.
Perhaps you should use LIBFUNCTIONS or LIBFUNCTIONSVIEW to look into the loaded library to verify the function prototypes. It co...

14 years ago | 0

Answered
Image on mask in Simulink
Setting the "Icon Transparency" to "Transparent" should show the port labels underneath. Alternately, you could use the port_lab...

14 years ago | 1

| accepted

Answered
MATLAB /Simulink Fundamental question
Regarding speed of execution - it really depends on your solution. If your MATLAB code relies on the JIT/Accelerator, it will in...

14 years ago | 0

Answered
Access .dll file
You can download and install any release of MATLAB from mathworks.com. If your MathWorks account is linked to your licensed info...

14 years ago | 0

Answered
Failed to load a .NET assembly
What version of MATLAB did you use to build your .NET assembly? The latest version (R2011a) supports .NET Framework 4.0: http://...

14 years ago | 0

Answered
Simulink Rectagular QAM Modulator parameters
It appears that "M-ary number" is not a tunable parameter on the Rectangular QAM Modulator block - which means it cannot be chan...

14 years ago | 0

| accepted

Answered
Is it possible to put C++ code on a .m for help MATLAB Coder to traduce ?
I think you need single quotes around your function name (sprintf), because the first argument to coder.ceval is the string cont...

14 years ago | 0

| accepted

Answered
Invalid Mex File
See <http://www.mathworks.com/support/solutions/en/data/1-X8A09/?solution=1-X8A09 Why do I receive a "specified module could not...

14 years ago | 1

| accepted

Load more