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

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

Beantwortet
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: ...

fast 15 Jahre vor | 1

| akzeptiert

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

fast 15 Jahre vor | 1

| akzeptiert

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 1

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

fast 15 Jahre vor | 1

| akzeptiert

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

fast 15 Jahre vor | 1

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 1

| akzeptiert

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

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 1

Beantwortet
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/...

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 1

| akzeptiert

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

Beantwortet
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://...

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 1

| akzeptiert

Mehr laden