
Dimitri MANKOV
Content Feed
已回答
Signals with Fixed-Point data types in Simulink Real-Time
Hi Francesca, Which MATLAB release are you using? The documentation you are referencing applies to R2023b, but I see that you e...
Signals with Fixed-Point data types in Simulink Real-Time
Hi Francesca, Which MATLAB release are you using? The documentation you are referencing applies to R2023b, but I see that you e...
17 hours 前 | 0
已回答
time-triggered CAN simulation
Hi Ruoshi, There are several approaches to real-time simulation, including Simulink Real-Time and Simulink Desktop Real-Time. W...
time-triggered CAN simulation
Hi Ruoshi, There are several approaches to real-time simulation, including Simulink Real-Time and Simulink Desktop Real-Time. W...
24 days 前 | 0
已回答
Serial and Ethernet connection for xpc target
Hi Le, I'f you'd like to send data over the serial / COM port of your target machine, you can use the RS-232 blocks from the xP...
Serial and Ethernet connection for xpc target
Hi Le, I'f you'd like to send data over the serial / COM port of your target machine, you can use the RS-232 blocks from the xP...
25 days 前 | 0
已回答
How to change block sample time using a trigger
Hi Thomas, I would simply move the TCP Send block inside of the triggered / enabled subsystem, this should do the trick :) Bes...
How to change block sample time using a trigger
Hi Thomas, I would simply move the TCP Send block inside of the triggered / enabled subsystem, this should do the trick :) Bes...
30 days 前 | 0
| 已接受
已回答
Speedgoat Hardware for noise control
Hi Russ, The hardware used in this example is a Speedgoat Performance tagret machine with an IO104 module. Speedgoat offers a w...
Speedgoat Hardware for noise control
Hi Russ, The hardware used in this example is a Speedgoat Performance tagret machine with an IO104 module. Speedgoat offers a w...
1 month 前 | 0
| 已接受
已回答
TCP/IP Connection xPC Target with remote device
Hi Tobias, You can use the TCP/IP driver blocks from the Simulink Real-Time library in the model that you deploy to your target...
TCP/IP Connection xPC Target with remote device
Hi Tobias, You can use the TCP/IP driver blocks from the Simulink Real-Time library in the model that you deploy to your target...
2 months 前 | 0
已解决
De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...
2 months 前
已解决
intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identic...
3 months 前
已解决
First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero i...
3 months 前
已解决
Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...
3 months 前
已解决
Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...
3 months 前
已解决
Get the elements of diagonal and antidiagonal for any m-by-n matrix
In the problem <http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute ...
3 months 前
已解决
Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. For...
3 months 前
已解决
Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The values of B are in the same order a...
3 months 前
已解决
Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...
3 months 前
已解决
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
3 months 前
已解决
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
3 months 前
已解决
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
3 months 前
已解决
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
3 months 前
已回答
fminsearch function stops after a few iterations in simulink real time with inverter
Hi Yannic, I would suggest explicitly defining / checking the tolerances and stopping criteria of the "fminsearch" function in ...
fminsearch function stops after a few iterations in simulink real time with inverter
Hi Yannic, I would suggest explicitly defining / checking the tolerances and stopping criteria of the "fminsearch" function in ...
3 months 前 | 0
已回答
Can simulink real-time host PC be a linux machine?
Hi Cody, You can use Simulink® Real-Time™ on Windows® and Linux® platforms for your host PC starting from R2022a, as indicated ...
Can simulink real-time host PC be a linux machine?
Hi Cody, You can use Simulink® Real-Time™ on Windows® and Linux® platforms for your host PC starting from R2022a, as indicated ...
3 months 前 | 1
| 已接受
已回答
CAN Explorer and I/O 602 Speedgoat module
Hi Gabriel, In short, you will need to insert the CAN driver blocks corresponding to your IO602 module in your model. These dri...
CAN Explorer and I/O 602 Speedgoat module
Hi Gabriel, In short, you will need to insert the CAN driver blocks corresponding to your IO602 module in your model. These dri...
3 months 前 | 0
已回答
Speedgoat, select default output for monitor connexion
Hi Bertrand, Usually, such settings can be found in the BIOS of your target machine. For more details, I kindly suggest that yo...
Speedgoat, select default output for monitor connexion
Hi Bertrand, Usually, such settings can be found in the BIOS of your target machine. For more details, I kindly suggest that yo...
4 months 前 | 0
| 已接受
已回答
Speedgoat IO306 Serial Connection
Hi Rafael, In short, the Serial (UART) protocol transmits packets of 8 bits each that will contain your data. The structure of ...
Speedgoat IO306 Serial Connection
Hi Rafael, In short, the Serial (UART) protocol transmits packets of 8 bits each that will contain your data. The structure of ...
4 months 前 | 0
| 已接受
已回答
Apply C code for real-time Speedgoat operation
Hi Mantas, The integration of external C/C++ code in Simulink Real-Time is documented here. Please note that your original code...
Apply C code for real-time Speedgoat operation
Hi Mantas, The integration of external C/C++ code in Simulink Real-Time is documented here. Please note that your original code...
4 months 前 | 0