Statistics
RANK
415
of 295,448
REPUTATION
188
CONTRIBUTIONS
0 Questions
124 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
18
RANK
of 20,227
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
use xpcbench to bench a user model using simulink real-time 2015b
Hi Howard, That's a tough question to answer, especially for such an old MATLAB release... But perhaps you could use an alterna...
17 days ago | 0
MCC PCI-DAS on 64-bit Matlab Simulink real-time
Hi Janez, I'm afraid that's rather unlikely because of the efforts that would be required to adapt the driver blocks. Please al...
2 months ago | 0
Solved
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
2 months ago
Solved
Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...
2 months ago
Relax real time requirement on Speedgoat on startup
Hello Thomas, Absolutely, this is possible using the SLRT Overload Options block, either via the "Startup duration" setting (if...
2 months ago | 0
| accepted
Get the xPC Target (Simulink Real-time) message log to the host computer
Hi Thomas, In MATLAB R2020a and earlier, you can use the following command to retrieve the entire target console log: Simulink...
3 months ago | 0
xPC Target Logging in folders
Hi Carl-Johan, This used to be rather complicated to achieve in MATLAB R2020a and earlier, but is very straightforward in Simul...
4 months ago | 0
Unable to run rtwmakecfg file. Insufficient number of outputs
Hi Donovan, In the vast majority of cases related specifically to Simulink Real-Time in R2020a and earlier, this (admittedly cr...
4 months ago | 0
How can I run 'slrttest' on my PC?
Hi Chuanxin, Could you please have a look at the following MATLAB Post? The issue diescription is very similar, and could be du...
6 months ago | 0
Can Simulink Real-time Send and Receive Data to a Host over Ethernet without involving MATLAB?
Hi Jari, Thanks for asking! The Simulink Real-Time target machine can communicate via UDP or TCP/IP with any external device su...
7 months ago | 0
| accepted
Real Time Robotic Arm
Hello Ceren, One possible approach would be to look into the Simulink Real-Time toolbox, which would allow you to deploy your S...
8 months ago | 0
Simulink Real Time External Mode Requirements
Hi Diede, For the Host PC, the system requirements can be found for every MATLAB release here. Note that these are minimal requ...
9 months ago | 0
Hold signal value in after a trigger then resume with the rest of the signal
Hi Yan, What about a triggered subsystem containing your counter, like in the picture below? That counter would only be increme...
10 months ago | 0
Error message when running simulink real-time with Speedgoat
Hi Jeseong, Looks like your target machine crashed. Not sure if this will work on a release as old as R2015b, but in R2020a and...
10 months ago | 0
Simulink Real-Time UDP block vs Instrumentation Toolbox UDP block
Hi Cheng, It depends: do you intend to run your Simulink model on an external target machine, or on your development PC? If you...
11 months ago | 0
| accepted
issues about RateTransition block when performed serial communiction on Speedgoat
Hi Yunchao, Could you open the Diagnostic Viewer on the bottom of your Simulink model, and select the correct log (Build) as sh...
11 months ago | 1
XPC trigger model run
Hi Istvan, In MATLAB R2020a or earlier, you can use the "IRQ Source" block to trigger a subsystem of your Simulink model asynch...
12 months ago | 0
| accepted
Can't send multiple CAN FD messages with 1 send block on Speedgoat
Hi Szilard, Could you try using a "Vector Concatenate" block instead of a "Mux" block to pass several CAN-FD messages to the "C...
1 year ago | 0
| accepted
Using Simulink RT on development laptop to communicate with Beckhoff EK1100 module
Hi Thomas, I'm afraid the EtherCAT blocks from the Simulink Real-Time library will not work on your desktop computer: Simulink ...
1 year ago | 0
| accepted
how to learn Hardware-in-loop testing ?
Hi, The MathWorks offer a great course about Simulink Real-Time that covers the topic of HIL testing, check it out here: https...
1 year ago | 0
| accepted
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...
1 year ago | 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...
1 year ago | 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...
1 year ago | 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...
1 year ago | 0
| accepted
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 year ago | 0
| accepted
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...
1 year ago | 0
Solved
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 =...
1 year ago
Solved
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...
1 year ago
Solved
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...
1 year ago
Solved
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 ...
1 year ago