Question


question about Simulation annotations
Hi, In the document of "Simulink annotation" there is such a sentence: For example, you can use click functions to allow ...

11 years ago | 1 answer | 0

1

answer

Question


alternative to "mask" to initialize parameters?
Hi, by now I always use "mask" in Simulink to initialize parameters, but it needs a double click to open the input parameter ...

11 years ago | 1 answer | 0

1

answer

Question


Matlab type mismatch in Embedded Matlab Functions
Hello, I want to do a CRC-32 for a vector in an Embedded Matlab Function. Before it I've tried it in the Matlab command line ...

11 years ago | 3 answers | 0

3

answers

Question


different sample times of vectors
Hi, A data stream with a constant sample time 'ts' shall be converted to vectors of 2 different lengths (2 and 4) with the Bu...

11 years ago | 0 answers | 0

0

answers

Answered
vectors to scalars with an Embedded Matlab Function
I've made it with an Embedded Matlab Function. For the sample time for each element I use the Repeating Sequence Stair block. Th...

11 years ago | 0

Question


Integer Delay Block not working
Hello, A frame-based vector created with the Constant block shall be delayed one step with the "Integer Delay" block. The pam...

11 years ago | 0 answers | 0

0

answers

Answered
Parameters of a level-2 s function
With my configuration the string "variable1" is showed in the block dialogue. When I input the number 10 in the parameter field ...

11 years ago | 0

Question


vectors to scalars with an Embedded Matlab Function
Hello, can anyone show me how to convert a 10x1 vector into 10 scalars with an Embedded Matlab Function? I just don't know...

11 years ago | 3 answers | 0

3

answers

Question


different sample times for variable-sized vectors
Hi, I must transmit variable-sized frame based vectors (10x1 and 5x1) over a communication channel. Now I have two alterna...

11 years ago | 1 answer | 0

1

answer

Question


variable-sized data into fixed-sized data?
Hello, I read from this document: http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals...

11 years ago | 0 answers | 0

0

answers

Question


calculation of "Symbol period" parameter in AWGN block
Hello, I must now calculate the parameter “Symbol period” in the AWGN block. My model consists of a Random Integer Generator ...

11 years ago | 0 answers | 0

0

answers

Question


variable-sized vectors can't be processed
Hi, two frame based vectors of different lengths are connected to a multiport selector, after which an Integer to Bit Convert...

11 years ago | 0 answers | 0

0

answers

Question


option "Interpret vector parameter as 1-D" in Constant block
Hi, in Constant block there is an option called "Interpret vector parameter as 1-D". I tried this option and found out the fo...

11 years ago | 1 answer | 0

1

answer

Question


frame based and sample based data
Hi, I understand frame based and sample based data as following: Frame based = nx1 vector Sample based = 1x1 vector Is...

11 years ago | 0 answers | 0

0

answers

Question


Parameters of a level-2 s function
Hi, In the Level-2 S function block there is a parameter called "Parameters". Can this name be changed to others, say, "Speed...

11 years ago | 2 answers | 0

2

answers

Question


M file starten in Simulink
Hi, I have an M file (also a function) which includes the "sim()" command. This M file is used to start the Simulink simulati...

11 years ago | 1 answer | 0

1

answer

Question


"Buffer" block and "Bit to Integer Converter" block for byte creation
Hi, It seems that both "Buffer" block and "Bit to Integer Converter" block can convert 8 bit to 1 byte from a binary stream i...

11 years ago | 0 answers | 0

0

answers

Question


meaning of "Input signal power" in AWGN block
Hi, the AWGN block has a parameter called "Input signal power". How can the power be measured if the input is just an integer...

11 years ago | 0 answers | 0

0

answers

Answered
CRC-32 problem in Simulink
I think I have found the reason. The CRC-32 which I want to use is according to the following statement: _The payload FCS is ...

11 years ago | 0

Question


CRC-32 problem in Simulink
Hello, I have to use CRC-32, but the CRC-N Generator block gives a wrong result. The parameters are following: CRC method ...

11 years ago | 1 answer | 0

1

answer

Question


parameter "Samples per frame"in Local Oscillator block
Hi, In the Local Oscillator block there is a parameter: Samples per frame. I noticed this parameter can affect the bandwidth ...

11 years ago | 0 answers | 0

0

answers

Question


automatic bitrate detection in Simulink
Hi, I want to simulink a digital receiver with Simulink, which can detect the bitrate in channel automatically. Do I realy ne...

11 years ago | 0 answers | 0

0

answers

Answered
Embedded Matlab function to save a random number
The problem is solved. The error is because the Random Number Generator block generates frame based data. A Buffer block of leng...

11 years ago | 0

Question


Embedded Matlab function to save a random number
Hi, I want to write an Embedded Matlab function to store the ramdom number of the Random Generator block into a vector, somet...

11 years ago | 2 answers | 0

2

answers

Answered
variables in Simulink Workspace
My goal is, simulate a model with 'sim()' in an m file, but the variable 'simout' seems not to be defined in the m file, which i...

11 years ago | 0

Question


variables in Simulink Workspace
Hi, I have created a variable 'simout' with the To Workspace block in Simulink. Now I have to use this in a m file, but an er...

11 years ago | 4 answers | 1

4

answers

Question


about Local Oscillator block
Hi, In the “Local Oscillator” block there are two parameters “Sample time” and “Frequency”. Must these two be related to Nyqu...

11 years ago | 1 answer | 1

1

answer

Question


Update and Outouts in S function
Hi, I try to understand the methods Update and Outputs in S function. Please tell me if my understanding is correct. Thank yo...

11 years ago | 1 answer | 1

1

answer

Question


two inputs operation in an s function or embedded Matlab function
Hi, an S function or Embedded Matlab function has two inputs with the same sample frequency and one output. Input1 is a data ...

11 years ago | 0 answers | 0

0

answers

Question


Sample time control in S functions
Hi, I’d like to control the sample time of output so that this output under some conditions comes out only once. Now there ar...

11 years ago | 1 answer | 1

1

answer

Load more