Statistics
RANK
224
of 281.603
REPUTATION
394
CONTRIBUTIONS
0 Questions
162 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
52
RANK
7.315 of 19.054
REPUTATION
124
AVERAGE RATING
5.00
CONTRIBUTIONS
3 Files
DOWNLOADS
3
ALL TIME DOWNLOADS
378
RANK
of 133.904
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
How to get correct embedded code generation of Lookup Table?
My hunch is that Embedded Coder has optimized away code for the specific Lookup Table Block. One form of optimization is "dead ...
ongeveer een maand ago | 1
| accepted
Why not getting same constant value after converting to single from double in MATLAB 2016b simulink
The facts that John D'Errico mentioned are very good to keep in mind as you are analyzing/debugging your model. The rounding of...
2 maanden ago | 0
how to pass(or link) ' fixed- point values' to the (root inport mapper-connect inputs) in the 'HDL inport block'
The problem is that the model is configured such that root inport is getting one data type, but the external data is using a dif...
3 maanden ago | 0
| accepted
Getting 'empty' Compiled Port Data Types
Set model in compile mode to access data types This may be changing, but historically at least, compiled port data types are av...
3 maanden ago | 0
Using a look-up table for decoupling waveforms
Hi Milos, I've created a FAQ in response to your question Resolve Error Lookup Repeated Breakpoints. The FAQ includes a utilit...
3 maanden ago | 0
| accepted
FAQ: How can I resolve the error due to lookup table not allowing repeated breakpoints?
A solution for making the lookup tables happy is to move the repeated breakpoints a "tiny amount". A key basis for this approac...
3 maanden ago | 0
| accepted
Create a repeating sequence without interpolation
There are three repeating sequence blocks in Simulink. With the right choice for Lookup Method, the block Repeating...
3 maanden ago | 0
| accepted
Simulink start takes long time to compile
If you have not done so already, I suggest you run Simulink Performance Advisor tool on your model. The Tool knows lots of grea...
3 maanden ago | 0
calling fi(var1, var2,..varN) in matlab function in a simulink model asks for constant values for input 2 to N
I don't know if there is or is not a way to make the MATLAB Function block recognize that W_HDISP as a constant at update diagra...
3 maanden ago | 0
Unit Delay block is supposed to be NOT a DIRECT FEEDTHROUGH But in documentation it is said YES
The Delay Block and the Unit Delay Block are subtly complicated especially with regard to Direct Feedthrough. Whether or not Di...
4 maanden ago | 1
| accepted
How to remain the bits of input signal port unchanged after using fixed-point tool?
LockScale prevents changes by Fixed-Point Tool Often some signals and parameters in a model are mandated early in the design pr...
4 maanden ago | 0
| accepted
Is it possible to disable compiling before simulating in Simulink?
Simulink Fast Restart is exactly what you want (assuming you are not making structural changes to your model between simulations...
5 maanden ago | 2
| accepted
Nonlinear plant in simulink
The key is to model Y(k+1) to Y(k) using a unit delay. The output of the unit delay is the input value from one time step earl...
5 maanden ago | 0
Mask parameter value is ignored with HDL Counter word length
Model Reference is not compatible with what you are trying to do. As an alternative, consider creating a Simulink library and pu...
6 maanden ago | 1
| accepted
help required for fixed point conversion
Mapping an A2D to a fixed-point data type One way to map an A2D converter to a fixed-point data type is to use two real-world-v...
6 maanden ago | 0
| accepted
help required for fixed point conversion
The number 395 is how many times that block in the model overflowed during the previous simulation. Suppose the element was a da...
6 maanden ago | 0
help required for fixed point conversion
Hi Gary, That portion of your model will involve 4 data types. Digital measurement of output signal from analog plant Set poi...
6 maanden ago | 0
Overflows when I use Fixed-Point Tool
Two Kinds of Overflows Fixed-Point Tool presents two types of overflows, Actual and Potential. Actual Overflows Actual overfl...
6 maanden ago | 0
| accepted
Problem with Simulink.NumericType after AUTOSAR-XML (ARXML) import
To simulate the model with the fixed-point data types and see bit-true behavior will require a Fixed-Point Designer license. Ho...
6 maanden ago | 0
Can we replace parameter value with parameter name while generating C code from model?
Please see the documentation Macro Definitions (#define) - MATLAB & Simulink (mathworks.com)
6 maanden ago | 0
Am I missing something, or is the Tip wrong?
Hi, The advise is generally correct. Turning off Integer Saturation and allowing the math to wrap modulo 2^N will lead to lea...
6 maanden ago | 1
| accepted
Why is my Simulink data type randomly changing?
Yes, this is most likely due to attribute propagation. You likely have an underspecified "chicken and egg loop" in your model. T...
6 maanden ago | 1
| accepted
What is the efficient code?
Simple Ansewer: Use shift approach unless multiplicative constant is really big In my experience, the multiply by constant foll...
6 maanden ago | 0
Method of Real number multiplication operation
Quick Answer: Shifts are Multiply or Divide by a Power of Two Shift left of M bits is equivalent to multiplication by 2^M wh...
7 maanden ago | 0
| accepted
Trouble using fixed point type conversion in Simulink
Check rounding and overflow handling mode By default, the Data Type Conversion block rounds to Floor and Wraps overflows. In c...
7 maanden ago | 0
| accepted
What is the "net slope"
Net slope is used in fixed-point operations to achieve agreement of scaling. The slopes of all the variables involved in an oper...
7 maanden ago | 0
| accepted
Simulink model converts floating-point numbers to fixed-point numbers
Suggestion consider using modByConstant Since the "denominator" of your modulos are constants, you my wish to use the modByCons...
7 maanden ago | 0
Simulink model converts floating-point numbers to fixed-point numbers
By default zeros() gives double Your output is double because of how it is initialized with the zeros() function n = 3; m = 4...
7 maanden ago | 0
| accepted
Data type conversion changes the value of the signal
Why cast to single has large quantization error. The cast from fixed-point to single will use single precision for constants an...
8 maanden ago | 0
| accepted
Data type conversion changes the value of the signal
Brief answer The original value 0.1 is between two representable values (0.099609375 and 0.1005859375) of the type being quanti...
8 maanden ago | 0