Answered
How can I do a frame-capture style video recording in "Simulink 3D Animation" using matlab?
To get a single static screenshot of the current Simulink 3D Animation figure, please do y = capture(vrgcf); Then, you s...

10 years ago | 0

Answered
Control Standa Hardware with Simulink and Realtime Windows Target
You cannot use any function of the Windows operating system in a code that you want to run in real time. This means that you can...

10 years ago | 1

Answered
Why is the Model Configuration Parameters GUI not opening and generating errors in Simulink (R2013b)?
Real-Time Windows Target does not allow you to choose a compiler. It always uses a compiler that is included with the product - ...

10 years ago | 0

Answered
Measurement system with MATLAB real-time windows target and NI PCI boards
If I understand it correctly, the SC-2345 is a signal conditioning board that is put between your PCI-6229 and your sensors (not...

10 years ago | 0

Answered
working with Real-time windows target by M-file
You need a Simulink model to work with Real-Time Windows Target. However, there are several possibilities how to implement your ...

10 years ago | 0

| accepted

Answered
Can I export my 3D model plot as a VRML file ?
Please use the |vrml| function. See |help vrml| for more information.

10 years ago | 1

| accepted

Answered
Drive the Rotation on a body in Virtual Reality from a simulink model signal
Rotation is not a 3-element vector. Instead, it is a 4-element vector where the first three elements specify the direction of th...

10 years ago | 1

Answered
How can I run the binary generated by Real-Time Windows Target without the Matlab environment???
What you are trying to do is currently not possible. The binaries generated by Real-Time Windows Target require MATLAB and Simul...

10 years ago | 0

| accepted

Answered
How to edit a VRML file in matlab ?
This would indicate that the VRML file is invalid, unuspported format, or different version. Because Cortona is able to read the...

10 years ago | 0

| accepted

Answered
Real Time Windows Target (RTWT) in Windows 8
From what you describe, it appears that the base hardware clock that drives the real-time kernel does not get initialized proper...

11 years ago | 0

Answered
Is it possible to integrate a vrml file with simulink and .m file simultaneously
You should be able to access a single virtual world simultaneously from both MATLAB and Simulink. If you get any errors, this is...

11 years ago | 0

| accepted

Answered
Serial Port Real-Time Windows Target
You cannot use Windows functions in real-time code. This includes |CreateFile|, |ReadFile|, |WriteFile|, |CloseHandle|, and such...

11 years ago | 1

| accepted

Answered
How to use a C# DLL in an S-Function for a Real Time application
You cannot use C# or any other language that requires .NET in real-time code. This is not because of Open Watcom, but because of...

11 years ago | 0

| accepted

Answered
not able to launch vrml editor > Error in vredit
The most probable cause is changed or corrupted Java path. Please examine the output of the following commands: which -all ...

11 years ago | 0

Answered
embedding vr_sink into gui
Yes, it is possible, using the |vr.canvas| object. Please see the |vr_octavia_graphs| example that shows how to do it.

11 years ago | 0

| accepted

Answered
How to generally use the stream input port in a real-time windows target model?
The approach you have chosen to receive the data is correct. As far as I know, you cannot do any better than sampling frequently...

11 years ago | 0

| accepted

Answered
Error while connecting to realtime target
If you want to react to individual received bytes, it is probably best to sample (poll) the input fast enough. I'd recommend the...

11 years ago | 0

Answered
What means real-time kernel concerning the real-time sync block?
The parameter _Maximum missed ticks_ has a meaning in Normal Mode only. In Normal Mode, Simulink runs the uncompiled model and s...

11 years ago | 1

| accepted

Answered
Error while connecting to realtime target
For serial port communication, please use Packet Output or Stream Output blocks, depending on your data format. You are correct ...

11 years ago | 2

| accepted

Answered
Video processing model can't be compiled by real-time windows target
It is not possible to use the "From Video Device" block with Real-Time Windows Target. Although this block generates code, the g...

11 years ago | 1

Answered
I have a pci card,how can I used it in rtwintgt?
There is no universal solution or advice for using an unsupported PCI board with Real-Time Windows Target. If you need an advice...

11 years ago | 0

Answered
Need a guide for using vrtracer and/or 3D World Editor
In most cases, there is no need to modify the virtual world you want to use for object tracing. So you don't need to care about ...

11 years ago | 0

| accepted

Answered
TCP/IP communication using Simulink- blocs (send/receive) under Real- Time Windows Target
The IP Send and IP Receive blocks are not usable in Real-Time Windows Target. Instead, please try to use blocks from Real-Time W...

11 years ago | 1

| accepted

Answered
Controlling the Simulink model run status through external API
Code running in real time generally cannot be paused. That would contradict its purpose to run in real time. For example, if the...

11 years ago | 0

| accepted

Answered
Problem running real time windows target
The Real-Time Windows Target does not include precompiled libraries for SimMechanics 2nd generation in R2012b and R2013a. This i...

11 years ago | 0

Answered
Real-Time Windows Target: rtwintgt -setup claims to be 'successful', but rtwho then reveals that the kernel hasn't been installed.
This is a known problem with R2012b and Windows 8. This is caused by a late change in Windows 8 that prevents correct initializa...

11 years ago | 0

| accepted

Answered
How to initialize Simulink Data Store Memories with Real Time Windows Target
You are correct that this does not work and it should. I'm filing a bug record for this. To work around the problem, you can ...

11 years ago | 2

Answered
Correct SampleTime for PacketOutput to Virtual COM-Port
If you want to send out 54 bytes 50 times per seconds, then it is best to send one packet consisting of those 54 bytes with a sa...

11 years ago | 1

| accepted

Answered
Slow Animation due VR Tracer
The simulation gets slower because of increasing number of objects in the virtual world. If you want to speed up the simulation,...

11 years ago | 0

Answered
how to obtain the location of a point with respect to the global coordinate system in vrml
If you want to read global coordinates, it is recommended to wrap the object by a Transform node. Then, it is possible to read t...

11 years ago | 0

Load more