Answered
How to configure byte unpack?
Hi Ander, I'm not sure whether the Byte Unpack block is capable of outputting matrix signals... But most importantly, the dimen...

5 months ago | 0

Answered
How to unpack data with Byte Unpacking
Hi Inna, The "Output port dimension" parameter defines the size of the outputs produced by the "Byte Unpacking" block, as expla...

5 months ago | 0

Answered
J1939 Communication over CAN, J1939 Protocol Stack
Hi Omar and Kenny, Speedgoat have just released a series a product examples in the latest Speedgoat I/O Blockset version (v9.4....

5 months ago | 1

Answered
Send signals to Signal Table and Axes simultaneously using Simulink Real Time in App Designer
Hi Josiah, The syntax of your callbacks looks correct to me... I usually initialize the signal table in the "startup" callback ...

5 months ago | 0

Answered
Want to Switch Axis Ratio During Real-Time Run in Speedgoat/Simulink
Hi Todd, In general, you can use the "ModelStatus.ExecTime" property of the target object to get the current execution time of ...

5 months ago | 0

| accepted

Answered
Simulink Realtime - is it possible to change parameter dimensions?
Hi Sandra, I don't think this is possible: once the code is generated, the dimensions are fixed as far as I know. But you could...

6 months ago | 0

Answered
simulink: how to send/receive packet data over udp
Hi Hosein, The UDP blocks from the Simulink Real-Time library are mostly intended to be used in conjunction with a target machi...

6 months ago | 0

Answered
unpacking UDP Send block of an xPC target
Hi Aida, Universal Datagram Protocol (UDP) is a packet-based protocol. You can construct a packet from Simulink data types such...

7 months ago | 0

Answered
Can you progamatically call simulink snapshot in a real-time speedgoat application utilizing a GUI?
Hi Todd, I think the easiest way would be to work with Simulink Real-Time instrument objects instead of Simulink Scopes. The in...

8 months ago | 0

| accepted

Answered
How to change the execution mode of the real-time application in slrt from Singletasking to Multitasking?
Hi Liqun, This is most likely due to the fact that your model uses only one sample rate. You can confirm this by highlighting t...

8 months ago | 0

| accepted

Answered
simulink real-time not useing PCI board
Hi, The host PC and the target machine can only be connected using an Ethernet cable (either direct connection or through a LAN...

8 months ago | 0

| accepted

Answered
Manipulating Parameters real-time in SpeedGoat
Hi Leonid, Do you mean the parameters of the various blocks in your Simulink model? If so, there are several convenient ways to...

8 months ago | 0

| accepted

Answered
Planned support for code generation of sparse optimisation using quadprog()
Hi Will, You might want to check out FORCES PRO from embotech. Their solver can for sure be used with Simulink Real-Time, thoug...

8 months ago | 0

Answered
connect a real-time desktop with slrtexplr
Hi Vincent, I do not think that it's possible to mix Simulink Real-Time tools with Simulink Desktop Real-Time. It is possible, ...

9 months ago | 0

| accepted

Answered
Connectivity problem to target machine
Hi Mats, Could you make sure that no other host PC or MATLAB release is trying to connect to the target? Are you using a direct...

9 months ago | 0

| accepted

Answered
Error: -22: disk full, when using Real-time Scope block with file type.
Hi Sheng, How big is the C:/ drive installed in your target machine? Could it be that it is already full with previous logs gen...

9 months ago | 0

Answered
Simulink Real-Time get Latest Data from UDP Receive Block
Hi Ingomar, If you know the maximum number of messages that can be sent on your network between two consecutive executions of t...

10 months ago | 0

Answered
How can one receive updated values in Simulink Real-time from Workspace.
Hi Gurtej, One thing that comes to mind are the stimulation APIs introduced in MATLAB R2021a. This feature lets you control the...

10 months ago | 0

Answered
Does Speedgoat support Python ?
Hi, To the best of my knowledge, it is currently not possible to deploy Python code directly in Simulink Real-Time. It is howev...

10 months ago | 0

Answered
How to import .dat file at 2021a version?
Hi HyeongKeun, In MATLAB R2020b and later, this function is no longer required because the file logging mechanism is not based ...

11 months ago | 0

Answered
### Failed to generate all binary outputs.Hi, I am generating Code for a model in MATLAB 2015b using Simulink and facing the following error. Plz help!
Hi K, The relevant line in your message is the following: ### Using System Target File: c:\Matlab2015b\rtw\c\grt\grt.tlc This...

11 months ago | 0

Answered
Speedgoat ### Failed to generate all binary outputs.
Hi Corantin, The relevant line in your message is the following: c:\users\admin\documents\corantin\speedgoat_can_driver_tmp_gr...

11 months ago | 0

Answered
Speedgoat analog output configuration
Hi Robert, The answer to your question can be found in the Speedgoat documentation here. In short, you can directly feed the de...

11 months ago | 0

Answered
simulink real-time xpctest Test4 falied
This test failure indicates that the Simulink model could not be built. It can be due to a number of reasons, like a missing com...

11 months ago | 0

Answered
How can I test the performance of a simulink model in real-time ?
Hi Sharda, Unfortunately not: the performance in Simulink Real-Time depends on the hardware used, and therefore cannot be predi...

12 months ago | 0

Answered
Simulink Real-Time startup parameter set for a standalone application
Hi Micky, Parameter sets were already supported in MATLAB R2016b according to the documentation (perhaps even earlier). For mor...

12 months ago | 0

| accepted

Answered
Real Time TCP/ip communication
Hi Rui, In order for this example to work, you need a target machine (for instance those made by Speedgoat), on which the real-...

12 months ago | 0

Answered
XPC Target Explorer 2021
Hi Karlee, xPC Target has been replaced by Simulink Real-Time quite some time ago (around 2014, if I'm not mistaken). Simulink ...

12 months ago | 0

Answered
How to package the guide interface with Simulink Realtime into an .exe file?
I am not sure whether this is possible with R2015b, but you can export user interfaces created in App Designer in later releases...

12 months ago | 0

Answered
i use a Simulink block function for tcpip communication in which i wrote the code in description but when i run i have an error mesage saying in description
Hi Brian, In case you are using Simulink Real-Time, I'd suggest using the TCP/IP blocks from the Simulink Real-Time library ins...

12 months ago | 0

Load more