Answered
Using Realtime UPD to Send a string
Hi Brian, for an example how to send formatted text over UDP using Simulink Desktop Real-Time, please see the sldrtex_streamio ...

2 years ago | 0

Answered
Failed to connect to the target with command line
Hi, this looks like Simulink Desktop Real-Time is not installed on the machine. Does the "ver" command show the product as inst...

2 years ago | 0

| accepted

Answered
Simulink Desktop Real-Time parallel simulations and communicate between simulations
Hi Abdülhamit, it is not possible to run parallel simulations using Simulink Desktop Real-Time using parsim or any similar appr...

2 years ago | 0

| accepted

Answered
How to export CAD model (Autodesk Inventor) so I can upload it to Simulink 3D animation, specifically the VR sink block
Hi Josh, the process of importing CAD files into Simulink 3D Animation is described here. In short - if you prefer a GUI, use t...

2 years ago | 0

Answered
How to use "fast restart" in Simulink Desktop Real-Time mode?
Hi Toshiki, you can run Simulink Desktop Real-Time models in Normal mode (uncompiled), and you can use Fast Restart in this mod...

3 years ago | 1

| accepted

Answered
UDP Communication with Unity in Simulink Destkop Real-time Kernel Mode
Hi Amr, the interface blocks are target-specific. So you cannot use block from Simulink Real-Time library with Simulink Desktop...

3 years ago | 0

| accepted

Answered
How to add tuneable Parameter to a Desktop Real Time Simulation on the example Water Tank
Hi Lars, the constant block must be connected to some other block where it has some effect on the result of the simulation. If ...

3 years ago | 0

Answered
Can I plot the simulink model signals with respect to real time?
Hi Shubham, you can try Simulation Pacing. Good Luck, Jan

3 years ago | 0

Answered
How do I add text to a Virtual World ?
Hi Tiago, there are several examples that show how to add text to a virtual world. Please see e.g. the vrtkoff_hud example. If ...

3 years ago | 0

Answered
Error " Cannot find S-function module 'joyinput' " when try to use in with ROS monitor and tune.
Hi Chanokun, if you run a model in monitor and tune mode, it means that the model is compiled into a binary executable which th...

3 years ago | 0

| accepted

Answered
Send struct over UDP
Hi Andrea, if you are using Simulink Desktop Real-Time, you can use the Packet Output block. The block allows you to specify a ...

3 years ago | 2

Answered
Real-Time frequency analysis of acceleration data
Hi Max, you can use blocks from the DSP System Toolbox library. There is a Buffer block that packs single data samples to buffe...

3 years ago | 0

| accepted

Answered
Unable to connect Bluetooth Space Mouse
Hi Harrison, unfortunately, the current SpaceMouse driver is unable to handle the wireless connection. This is a known limitati...

3 years ago | 0

| accepted

Answered
Why does the maximum scan/sampling rate differ significantly between MATLAB and Simulink Desktop Real Time?
Hi Kevin, for maximum performance of a Simulink Desktop Real-Time model, please use just a single Analog Input block and use a ...

3 years ago | 1

| accepted

Answered
Numerical Issues unpacking binary data string
Hi Max, saturation is by far the simplest method, although I understand it has its limitations. The next simplest method is to ...

3 years ago | 0

Answered
Numerical Issues unpacking binary data string
Hi Max, first, you may be missing a very useful feature of the Packet Input block that allows it to output the signals directly...

3 years ago | 0

| accepted

Answered
Serial input from COM device via "Stream Input"-block in Simulink Desktop Real-Time External (SLDRT)
Hi Max, the Stream Input block is designed for receiving textual (ASCII) data of potentially variable length. Since your data i...

3 years ago | 0

| accepted

Answered
receiving data from virtual COM in Simulink Desktop Real Time
Hi Mostafa, you should be able to use the Packet Input or Stream Input blocks from the Simulink Desktop Real-Time library, and ...

3 years ago | 0

Answered
What's the acceptable value range for force feedback for the Joystick Input block?
Hi Peter, the range is from -1 to 1 for maximum force-feedback values in both directions. 0 means no force-feedback. Good Luck...

3 years ago | 0

Answered
Error initializing the driver hardware/ Error using HUMUSOFT MF634
Hi Nagendra, please try to upgrade the Humusoft MF634 driver to version 2.94, available for download here. Best Regards, Jan

3 years ago | 0

Answered
Packet Input block Buffer for TCP/IP Communication
Hi Maxmilian, your understanding of the functionality of the Packet Input block is almost correct. The only difference is that ...

3 years ago | 1

| accepted

Answered
Vr sink translation seletion
Hi Gaetan, this is because all your objects are defined as Group nodes, and these do not have the capability to change position...

3 years ago | 0

| accepted

Answered
Extend library of functions from another library SLRT, SLDRT
Hi Maxmilian, unfortunately, what you are trying to do cannot be done. In External mode, the code runs on the target - inside t...

3 years ago | 1

| accepted

Answered
Missed ticks meaning in Simulink Desktop Real-Time
Hi Federico, yes, your understanding is almost correct. A "tick" is an event when the real-time kernel tells a block that the t...

3 years ago | 1

| accepted

Answered
Is it possible to generate a standalone executable in external mode including an S-Function of a C/C++ code that performs TCP/IP communication?
Hi Diego, to build a model for Simulink Desktop Real-Time external mode, you must set your system target file to either sldrt.t...

4 years ago | 0

Answered
How to exchange data between Simulink model and App Designer when run in EXTERNAL MODE?
Hi Nagendra, there are several ways you can proceed. First, you can rethink the idea of creating a MATLAB app and use the block...

4 years ago | 1

| accepted

Answered
How to set Query Instrument Block parameters in proper format?
Hi Joanne, you cannot use gpib object with SImulink Desktop Real-Time in External mode because it does not support code generat...

4 years ago | 0

Answered
How to enable variable output signal size?
Hi Leonardus, there is a checkbox labeled Allow variable-size output signals in the VR Source block dialog. This must be select...

4 years ago | 0

| accepted

Answered
How to setup multi function card (HUMUSOFT MF634) with Matlab?
Hi Nagendra, this depends on what device you want to control using the MF634 board, and what is the type of signals that the de...

4 years ago | 1

| accepted

Answered
connect the drone's joystick to my laptop
Hi Michel, you can use the Joystick Input block from the Simulink 3D Animation library. Please see the vrcrane_joystick example...

4 years ago | 0

Load more