답변 있음
Embedded matlab function for trigger generation
Thank you. It works but now I want to trigger the generation with a rising edge, so the code compt=(comptp+1)*u2 sha...

13년 초과 전 | 0

답변 있음
Question about S function
Thank you. With your advice I write the following code: function DoPostPropSetup(block) … block.Dwork(1).Dimensio...

13년 초과 전 | 0

질문


Question about S function
Hi, Is it possible to realize the following with Level 2 S function? The input is a binary data, that is, every time only ...

13년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Embedded matlab function for trigger generation
Hi, I want to write an Embedded Matlab function with 2 inputs and 1 output. Input1: an integer Input2: a trigger Output1...

13년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Question about Buffer block
Hi, I have a Buffer block with the depth = 10 and a frame based vector with the length = 5. After a simulation I notice th...

13년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Descrambler block and NaN
Hi, I must use the Descrambler block to descramble some data. My question is, what happens if some elements of the input are ...

13년 초과 전 | 답변 수: 0 | 1

0

답변

답변 있음
get rid of NaN elements in Simulink
I tried following code in a Embedded MATLAB Function block. function y = fcn(n) i1 = 0; var = isnan(n); len = leng...

13년 초과 전 | 0

답변 있음
get rid of NaN elements in Simulink
Thank you. All non-NaN elements come before NaN elements, but the number of non-NaN elements can be variant. The output lengt...

13년 초과 전 | 0

답변 있음
get rid of NaN elements in Simulink
Thank you you both. I must add that the vectors come one after another, which means, my model shall process only one vector a...

13년 초과 전 | 0

질문


get rid of NaN elements in Simulink
Hi, I have a special work for Simulink with which Simulink is maybe overloaded. Many vectors of length 10 shall be process...

13년 초과 전 | 답변 수: 6 | 0

6

답변

질문


method “block.SetPreCompOutportInfoToDynamic” in Level 2 S function
Hi, In Level-2 S function there is a method “block.SetPreCompOutportInfoToDynamic” which sets the output properties to be inh...

13년 초과 전 | 답변 수: 0 | 0

0

답변

질문


4x1 vector to 2x1 vector with S function
Hi, I have written an Level-2 S-function which creates a 2x1 vector from a 4x1 vector, that it, taking out the first 2 elemen...

13년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Submatrix block with dynamical parameter
Hi, A frame based column vector shall be split and changed to a submatrix with the Submatrix block. Now the problem is, the p...

13년 초과 전 | 답변 수: 1 | 0

1

답변

질문


subsystem with x output bytes
Hi, I created an enabled subsystem. In this subsystem the inport and the outport are connected directly. I want to control th...

13년 초과 전 | 답변 수: 1 | 0

1

답변

질문


frame based data in Scope
Hi, I want to watch a frame based binary stream which is generated with the Random Integer Generator with the Scope block. ...

13년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
problem with "Switch" block
Yes, I tried this option, but frame based data is not supported by this option. Senmeis

13년 초과 전 | 0

질문


Sample time vs. Bitrate
Hi, How can the bitrate of a constant array be calculated? For example, I have an array [1;2;3;4;5] with the sample time ...

13년 초과 전 | 답변 수: 0 | 0

0

답변

질문


generation control of frame based arrays
Hi, I have a Simulink model which outputs frame based arrays with a constant rate. Is it possible to control its outputs with...

13년 초과 전 | 답변 수: 0 | 0

0

답변

질문


problem with "Switch" block
Hi, I want to select data between two frame based arrays of different lengths (32x1 and 64x1) with the block "Switch". An...

13년 초과 전 | 답변 수: 1 | 0

1

답변

질문


content of a buffer
Hi, I want to do the following with Simulink but somehow I cannot find the direction. I have a 32 bit buffer which accepts...

13년 초과 전 | 답변 수: 0 | 0

0

답변

질문


bitrate conversion in Simulink
Hi, There is a frame based array with the frame period = 1e-6 and this should be transmitted with a bitrate = 100 Mbit/s. How...

13년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Core Generator for Matlab
Hello, Is it possible to use the simulink core which is created by Core Generator of Xilinx in Matlab? Thanks Senmeis

13년 초과 전 | 답변 수: 0 | 0

0

답변

질문


uint8 vs. double in Simulink
Hi, Some blocks in Simulink supports several output formats. Is it better to set it as unit8 for byte based data rather than ...

13년 초과 전 | 답변 수: 1 | 0

1

답변

질문


two column matrix concatetate
Hi, I want to combine two column matrix together with ‘Matrix Concatenate’. The inputs are 12x1 matrix from “Random Integer G...

13년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
control parameters of a simulink block
Thank you, but I don't intend to set parameters during simulation, but before any simulation. In fact I must set the parameters ...

13년 초과 전 | 0

질문


control parameters of a simulink block
Hi, Is it possible to control parameters of a simulink block with another block? Say create a block which controls the 'seed'...

13년 초과 전 | 답변 수: 3 | 0

3

답변

질문


frame based arrays combination
Hi, how to combine two frame based arrays together in Simulink? I tried the components "Mux" and "Cancatenate Vector" but the...

13년 초과 전 | 답변 수: 0 | 0

0

답변

질문


about the demo example 'Packet Creation, Transmission and Error Analysis'
Hi there I am an absolute beginner to Simulink and want to get your help on this demo example. This example can be found i...

13년 초과 전 | 답변 수: 0 | 0

0

답변

질문


integers in "Variable Editor" in HEX
Hi, How can integers in "Variable Editor" be displayed in hexadezimal format? Thanks Owen

13년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Questions to Random Integer Generator
Hello, The parameter ‚Sample time’ in ‚Random Integer Generator’ must be configured. Can it be considered as the baudrate of ...

13년 초과 전 | 답변 수: 0 | 0

0

답변

더 보기