Answered
Code generated from RTW doesn't Compile with gcc in Linux Environment
Looks like you are still missing some files. Please try using the <http://blogs.mathworks.com/seth/2008/11/26/wheres-the-code/ p...

13 years ago | 1

Answered
How can I compile C++ codes using DLL files created in Matlab in the IDE Code::Blocks?
You may want to correct your question because the word S-function is misleading. From what I can tell by looking at your code, y...

13 years ago | 1

Answered
Speed up simulation
There are several techniques for improving your Simulink model's performance. Please see these articles: * <http://blogs.math...

13 years ago | 1

| accepted

Answered
When does Simulink.Bus generate header files?
Not sure if I've understood your question correctly, but shouldn't the solution be to set the data scope to "Auto" as you've alr...

13 years ago | 0

Answered
Open dedicated automation servers from Labview
Not sure about IMLApp and DIMLApp, but if you started MATLAB as a <http://www.mathworks.com/help/techdoc/matlab_external/bq7_ykd...

13 years ago | 0

Answered
MatLab Builder JA
I don't have any experience with this product, but perhaps an approach similar to the one described in this solution will work f...

13 years ago | 0

Answered
Mex Files and Variables in the Matlab Workspace
I'm not much of a MATLAB expert, but I think there is a MATLAB optimization kicking in. I believe assignments like "T=V" will no...

13 years ago | 2

| accepted

Answered
Multiple Input Orientations in a Subsystem Block
This is currently not possible in Simulink. Please consider submitting an enhancement request via MathWorks Tech Support.

13 years ago | 0

Answered
time delay in s function
Andreas: Since you seem to have narrowed down the issue to a very simple model, I would highly recommend that you report this to...

13 years ago | 0

| accepted

Answered
'Make Error' when starting Simulink simulation
Have you already installed a supported compiler (see last column on <http://www.mathworks.com/support/sysreq/previous_releases.h...

13 years ago | 1

| accepted

Answered
s function does not exist error
I'm not familiar with the paper, but perhaps you either do not have the S-function file on the MATLAB path? If the file is a C-f...

13 years ago | 0

Answered
xpTarget error
It seems that this error might occur if you have a corrupt installation of .NET Framework. R2012a requires v4.0: http://www.micr...

13 years ago | 0

Answered
How to sync progress bar with model simulation in gui?
You can use <http://www.mathworks.com/help/toolbox/simulink/ug/f13-92122.html#f13-92463 Method Execution Event> listeners to hav...

13 years ago | 0

Answered
Control a Simulink module by an M-file
What you're doing with the command "set_param('test', 'SimulationCommand', 'start')" is the equivalent of hitting the "Play" but...

13 years ago | 0

Answered
Usage of addUserDataType to register custom type
I think the error may be because bool_t, int8_t, etc. are reserved keywords (these names are exactly what Simulink Coder uses fo...

13 years ago | 0

Answered
Inport in Simulink Doesn't Hold Last Value
I would recommend using the <http://www.mathworks.com/help/toolbox/simulink/slref/constant.html Constant> block instead. Importi...

13 years ago | 1

| accepted

Answered
Using the 'getsnapshot' function in an embedded Matlab function, within Simulink.
I'm guessing that the error occurs because the (Embedded) MATLAB Function block does not support the videoinput object. How abou...

13 years ago | 0

| accepted

Answered
Data from Matlab function in Simulink
I think a better option would be to directly call your MATLAB function from the Simulink model. Use one of the <http://www.mathw...

13 years ago | 2

Answered
Embedded Function Error-algebraic loop error message in Simulink
Do you have an output connect as an input (in a loop)? Perhaps you might want to avoid the algebraic loop in the first place so ...

13 years ago | 0

| accepted

Answered
Compiled Matlab exe hangs when calling my Mex function
There is perhaps an error message that is causing the application to hang. Have you tried compiling your application without sup...

13 years ago | 0

Answered
Problem with running Matlab Block function
The error says "cannot open input file 'C:\Program Files\MATLAB\R2011a\lib\win64\libippmwipt.lib' " - is this file present in yo...

13 years ago | 0

Answered
S-Function with Separate C Code and VHDL generation
I don't think HDL code generation is supported for S-functions, but you might be able to get around it by wrapping the S-functio...

13 years ago | 0

Answered
Signal dimensions propagation to submodels
AFAIK, referenced models cannot inherit signal dimensions - if specified as Inherited (-1) on the port, by default it is assumed...

13 years ago | 3

Answered
simulink & Matlab-Fcn :undefined input argument error
Does the MATLAB Fcn block show up with two input ports on the Simulink model? I suspect that you may have unwittingly configured...

13 years ago | 0

Answered
No matching constructor signature
Could you try running "rehash toolboxcache" at the MATLAB prompt and try calling load_system again? Does the warning go away?

13 years ago | 1

| accepted

Answered
Development Kits
From what I understand "Spartan 6 Development Kit Support from Simulink" is just a page that talks about a board that is support...

13 years ago | 0

Answered
Any alternative to set_param() for Compiled Matlab code
None of the Simulink commands are supported for deployment with MATLAB Compiler. See <http://www.mathworks.com/matlabcentral/ans...

13 years ago | 1

Answered
fatal error LNK1104: cannot open file 'libmx.lib libmat.lib libeng.lib'
Did you compile using 32-bit MATLAB or 64-bit MATLAB? You need to add extern/lib/win32 if using 32-bit and extern/lib/win64 if u...

13 years ago | 2

Answered
.mdl,.mat,.fig
See this <http://www.mathworks.com/matlabcentral/answers/16592-link-to-a-m-file-from-simulink-model previously answered question...

13 years ago | 0

| accepted

Answered
Matlab Compiler - Invalid MEX-file for 'sqp' in optimization toolbox
Seems like a case of MATLAB Compiler not adding the function 'activesetqp' to the compiled archive. Perhaps you can try using th...

13 years ago | 0

Load more