Answered
How to create "Protected Model" from a model, which uses " a noninlined S-functions "?
As you have already found, it is not possible to create a protected model which uses noninlined S-functions. There are two alter...

meer dan 9 jaar ago | 0

Answered
Use of Events and temporal logic in the Generated code
In the generated code, Events will be a Boolean type if the trigger type is set to "Either Edge". If the Event output type i...

meer dan 9 jaar ago | 1

Answered
Why does the eig function return different values in a Simulink 'MATLAB Function' block versus the MatLab command line?
Since the MATLAB Function Block uses code generation, the same limitations and notes apply. For code generation, these notes fou...

meer dan 9 jaar ago | 1

Answered
"verify hardware selection" in fixed-point advisor
You can select Device vendor "Generic" and Device type "Custom" and then continue to use the Fixed-Point Advisor. Alternative...

meer dan 9 jaar ago | 0

Answered
Double to fixpoint conversion of Sum and Discrete transfer function block
It is best practice to insert a ZOH block after the input port to the model as it will convert an input signal with continuous s...

meer dan 9 jaar ago | 2

Answered
Deployed audioplayer object(function) does not work on the target machine due to failure in loading intervaltimer.dll
I believe this issue is the same as described in this bug report: <http://www.mathworks.com/support/bugreports/1205811> The w...

meer dan 9 jaar ago | 1

| accepted

Answered
What is the best way to solve 3 equations and 3 unknowns
I am not able to reproduce the same behavior because I am not sure what the specific constants are in your equations. However, a...

meer dan 9 jaar ago | 0

Answered
How to use inputdlg with plotting a bouncing ball?
There are some syntax errors in the second version of your code. For example, delX = (-0.94)*str2num({4}); should instea...

meer dan 9 jaar ago | 0

Answered
How can I implement recursion in code-generated Simulink models?
As you are aware, recursion is not supported for Simulink Code Generation. An alternative algorithm design for this recursive di...

meer dan 9 jaar ago | 0

Answered
Why function "care" doesn't work when used in function that is called from Simulink?
Only a subset of MATLAB functions support C/C++ code generation. An alphabetical list of supported functions is located here: <...

meer dan 9 jaar ago | 0

Answered
Compiled standalone matlab executable fails at math; what am I doing wrong?
When you use the MATLAB Compiler, the input argument type will strings. Loren talks a little more about this here <http://blo...

meer dan 9 jaar ago | 1

| accepted