Answered
Programmatically change external mode data archiving directory
This should do what you need: set_param(model, 'ExtModeArchiveDirName', 'c:\your_directory')

11 years ago | 0

| accepted

Answered
Triggering Fixed-Length Data Capture from Infinite-Length Simulink Simulation (Real-Time)
This can be done by utilizing the External Mode triggering feature. In the model, just leave the Analog Input (or whatever) bloc...

11 years ago | 0

| accepted

Answered
Packet Input (Simulink) returning 0s
The situation you describe (Data Ready is 0) happens when the incoming data is not accepted by the device, for whatever reason. ...

11 years ago | 1

Answered
External Mode scope traces (Simulink)
One of possible explanations would be that the data are out of range of the Scope block. If in doubt, please use a To Workspace ...

11 years ago | 0

Answered
Different results for Simulink's External and Normal mode!
The behavior you describe is most likely not because of External or Normal mode. It looks like the cause is a different ODE solv...

11 years ago | 0

Answered
Simulink Encoder Block outputting pulses only?
Your expectations about the output signal of the |Encoder Input| block are correct. It is indeed supposed to output accumulated ...

11 years ago | 0

| accepted

Answered
Analog Output block keeps timing out (glitches)
To get reliable timing and smooth output waveform, the only real solution is to switch from Normal Mode to External Mode. This w...

11 years ago | 2

| accepted

Answered
SIMULINK: send string via Stream Output
Simulink does not have a signal of type "string". To work with strings, you must use their numeric (ASCII) encodings. The |St...

11 years ago | 1

| accepted

Answered
SpaceMouse with Simulink 3d Animation on OSX
The Simulink 3D Animation Space Mouse Input block is indeed not supported on Mac OS X. We will consider adding the support as an...

11 years ago | 0

Answered
How can i install the vr editor in the student version?
This message is printed when you are trying to install V-Realm Builder (an external VRML editor) on a platform that is not suppo...

11 years ago | 1

| accepted

Answered
Packet input block not resetting to zero until new data is sent manually through Terminal in RTWT Matlab 2009b. Please help.
What you see is the correct behavior. The value of the last received character stays on the block output until a new character i...

11 years ago | 0

| accepted

Answered
edit *.wrl file, add a new node
Hi Steven, as the parent field, you should use the |children| field, not |addChildren|, which is an event. Like in the follow...

11 years ago | 0

| accepted

Answered
Mapping Encoder channels to Physical DAQ ports- RTW & NI
Remapping of the encoder input channels is not supported with the Real-Time Windows Target driver. The driver always uses the de...

11 years ago | 0

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...

12 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...

12 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 - ...

12 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...

12 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 ...

12 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.

12 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...

12 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...

12 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...

12 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...

12 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...

12 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...

12 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...

12 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 ...

12 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.

12 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...

12 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...

12 years ago | 0

Load more