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

circa 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 1

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 2

| accettato

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

oltre 11 anni fa | 1

| accettato

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 1

| accettato

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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 1

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

quasi 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 1

| accettato

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

circa 12 anni fa | 1

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

Carica altro