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

alrededor de 14 años hace | 1

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

alrededor de 14 años hace | 1

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

alrededor de 14 años hace | 1

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 2

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

| aceptada

Respondida
'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...

alrededor de 14 años hace | 1

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 1

| aceptada

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 2

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 3

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

alrededor de 14 años hace | 0

Respondida
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?

alrededor de 14 años hace | 1

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 1

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

alrededor de 14 años hace | 2

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 0

Cargar más