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...
16 dagar 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...
ungefär 2 månader 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,....
ungefär 2 månader 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 ...
ungefär 2 månader 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...
ungefär 2 månader 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 månader 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 månader 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 månader 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 månader 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 månader 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 månader 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 månader 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 månader 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 månader 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 månader 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 månader 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 månader 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...
ungefär ett år 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 ...
ungefär ett år 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...
ungefär ett år 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...
ungefär ett år 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...
ungefär ett år 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...
ungefär ett år 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...
ungefär ett år 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...
ungefär ett år 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...
mer än ett år 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 =...
mer än ett år 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...
mer än ett år 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...
mer än ett år 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 ...
mer än ett år ago