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

12 years 前 | 0

| 已接受

已回答
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...

12 years 前 | 0

| 已接受

已回答
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. ...

12 years 前 | 1

已回答
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 ...

12 years 前 | 0

已回答
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...

12 years 前 | 0

已回答
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 ...

12 years 前 | 0

| 已接受

已回答
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...

12 years 前 | 2

| 已接受

已回答
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...

12 years 前 | 1

| 已接受

已回答
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...

12 years 前 | 0

已回答
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...

12 years 前 | 1

| 已接受

已回答
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...

12 years 前 | 0

| 已接受

已回答
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...

12 years 前 | 0

| 已接受

已回答
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...

12 years 前 | 0

已回答
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 前 | 0

已回答
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 前 | 1

已回答
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 - ...

13 years 前 | 0

已回答
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...

13 years 前 | 0

已回答
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 ...

13 years 前 | 0

| 已接受

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

13 years 前 | 1

| 已接受

已回答
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...

13 years 前 | 1

已回答
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...

13 years 前 | 0

| 已接受

已回答
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...

13 years 前 | 0

| 已接受

已回答
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...

13 years 前 | 0

已回答
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...

13 years 前 | 0

| 已接受

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

13 years 前 | 1

| 已接受

已回答
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...

13 years 前 | 0

| 已接受

已回答
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 ...

13 years 前 | 0

已回答
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.

13 years 前 | 0

| 已接受

已回答
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...

13 years 前 | 0

| 已接受

已回答
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...

13 years 前 | 0

加载更多