Answered
error: The model contains a block that requires to include the "dlfcn.h" header in its generated code.
Hi Wonjin, you cannot use the CAN FD Send or Receive blocks from Vehicle Network Toolbox with Simulink Desktop Real-Time. Pleas...

1 year ago | 0

Answered
SLDRT CPU utilization when running a model in Kernel mode
Hi Howard, the fact that CPU utilization shows up as 100% when model runs in Run in Kernel mode is due to CPU power state being...

1 year ago | 1

| accepted

Answered
What is the proper way to use Stream Input and Stream Output blocks simultaneously?
Hi Zach, to use both Stream Input and Stream Output blocks with one serial port, you configure the serial port in one of the bl...

1 year ago | 0

Answered
3D visualization error in simulink
Hello, please see the Simulink 3D Animation product and the vr_octavia example. This example uses 3D visualization engine based...

1 year ago | 0

Answered
How to properly handle objects within level-2 Simulink S-Functions
Hi Zach, while this does not directly answer your question, have you tried to use the Packet Input/Output or Stream Input/Outpu...

1 year ago | 1

| accepted

Answered
Audio generation in Simulink Desktop Real-Time
Hi Cecilia, Simulink Desktop Real-Time operates sample-by-sample, whereas a typical audio device expects buffered waveform sign...

1 year ago | 0

Answered
Unable to find S-function module in Simulink 3D Animation toolbox
Hi PJ, the Joystick Input block is not supported for code generation. The block uses joystick device I/O of the operating syste...

1 year ago | 0

| accepted

Answered
Simulink 3D Animation on "Monitor and Tune" mode
Hi Gaia, Simulink 3D Animation is able to work with hardware targets that use the classic External Mode communication protocol....

1 year ago | 0

Answered
How to color specific parts of an STL object in 3D World Editor
Hi Alex, your geometry is most probably a hierarchical tree of Transform nodes that contain Shape nodes. These contain Geometry...

1 year ago | 0

| accepted

Answered
How to change the origin point of a transform Node in 3D World Editor ?
Hi Nuri, you can use nested Transform nodes. You first create a Transform node that puts your rotating object to the center of ...

1 year ago | 0

| accepted

Answered
Connect Vector device to Packet Input block with Simulink Desktop Real-Time
Hello, in the Vector Hardware Config tool, please create an application named MATLAB and assign the CAN channels you want to us...

1 year ago | 0

| accepted

Answered
Receiving variable length packets through a com port in Simulink using SLDRT package
Hi Howard, the most important question is how you tell the start and end of the packet. If this is by some byte sequence, proba...

1 year ago | 0

| accepted

Answered
How to make rotation and translation options available while choosing source file for VR Sink ?
Hi Nuri, any X3D node that you want to access from Simulink must be named. So please open your X3D world in the 3D World Editor...

1 year ago | 1

| accepted

Answered
Real time kernel Error. S-function error.
Hello, the inability to allocate hardware timer for the real-time kernel is most often caused by hardware or software incompati...

2 years ago | 0

| accepted

Answered
Is there any adds-on for Linux, which corresponds to Simulink Desktop Real-Time for Windows and Mac?
Hi Akiri, Simulink Desktop Real-Time is not supported on Linux at this time and cannot be used there. You may want to try to co...

2 years ago | 0

| accepted

Answered
How to Animate a Solidworks Assembly file using Simulink 3D Animation/Simscape Multibody ?
Hi Nuri, the first step to animate a geometry in Simulink 3D Animation is to import the geometry to the X3D file format that is...

2 years ago | 0

| accepted

Answered
Creating Animated 3D by Simulink
Hi Jack, the easiest way to achieve this is probably using an ElevationGrid node. This X3D node defines a geometry using a rect...

2 years ago | 0

Answered
Continuously Update MATLAB Variable and Use in Simulink
Hi Leon, please do set_param(gcs, 'SimulationCommand', 'update') after you change the value of the variable in the base workspa...

2 years ago | 1

| accepted

Answered
Simulink Real-Time kernel bricking Windows 10
Hi Federico, please try to disable Hyper-V if enabled. Here's how to do it. Also please don't forget to disable Memory Integrit...

2 years ago | 1

Answered
Cannot control View Up Vector in Simulink 3D animation viewer
Hi Brendan, please try the Straghten Up button. It is available either as an item in the Navigation menu, a button on the taskb...

2 years ago | 0

Answered
Lapack in Simulink Real-Time Desktop
Hi Stefano, to be able to use some library with Simulink Desktop Real-Time, the library must be available in source form (C or ...

2 years ago | 0

Answered
Serial communication using Stream Input/Output blocks receives delayed data
Hi Ama, the Stream Output block, when run in Connected IO mode like you are running it, has one sample period delay between its...

2 years ago | 1

| accepted

Answered
Serial communication using Stream Input/Output blocks receives delayed data
Hi Ama, in your model, please select DEBUG, Information Overlays, Execution Order. This will tell you in which order your block...

2 years ago | 0

Answered
Serial communication using Stream Input/Output blocks receives delayed data
Hi Ama, you should not use Simulink Pacing together with Simulink Desktop Real-Time. Simulink Desktop Real-Time I/O blocks sync...

2 years ago | 0

Answered
Simulink Desktop Real-Time, App Generator?
Hi Kyle, unfortunately, Simulink Desktop Real-Time does not have the capability to generate standalone applications. Models cre...

2 years ago | 0

| accepted

Answered
Simulink Real Time Desktop Runs too Fast?
Hi Kyle, are you running in Connected IO or Run In Kernel mode? If Connected IO, please make sure that you have at least one of...

2 years ago | 3

| accepted

Answered
Vector CancaseXL run in Kernel show errors
Hi Wu Lei, Vector uses a of "Application" that are individual hardware channels assigned to. You must configure an application ...

2 years ago | 1

| accepted

Answered
Creating a proper f3d file
Hi Pavel-Jakub, the F3D format used by 3D Foundation is not the same format as used in Fusion. This is just a name coincidence....

2 years ago | 0

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

Load more