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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 2

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 2

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 3

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 2

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

Carica altro