Feeds
已回答
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...
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...
3 days 前 | 0
已解决
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,....
3 days 前
已解决
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 ...
3 days 前
已回答
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...
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...
5 days 前 | 0
| 已接受
已回答
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...
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...
1 month 前 | 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...
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...
2 months 前 | 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...
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...
3 months 前 | 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...
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...
4 months 前 | 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...
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...
5 months 前 | 0
| 已接受
已回答
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...
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...
6 months 前 | 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...
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...
7 months 前 | 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...
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...
8 months 前 | 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...
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...
9 months 前 | 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...
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...
9 months 前 | 0
| 已接受
已回答
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...
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...
9 months 前 | 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...
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...
10 months 前 | 0
| 已接受
已回答
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...
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...
11 months 前 | 0
| 已接受
已回答
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 ...
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 ...
11 months 前 | 0
| 已接受
已回答
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...
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 前 | 0
| 已接受
已回答
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...
1 year 前 | 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...
1 year 前 | 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...
1 year 前 | 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...
1 year 前 | 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 year 前 | 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...
1 year 前 | 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 =...
1 year 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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...
1 year 前