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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 2

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 2

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 3

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 2

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

Mehr laden