Statistics
RANK
778
of 295,495
REPUTATION
96
CONTRIBUTIONS
0 Questions
54 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
7
RANK
5,278 of 20,240
REPUTATION
239
AVERAGE RATING
4.90
CONTRIBUTIONS
1 File
DOWNLOADS
4
ALL TIME DOWNLOADS
2052
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Submitted
Disabling SMIs on Intel(R) ICH5 chipsets
Avoid CPU overloads with xPC Target(TM) on Intel(R) chipsets by disabling SMIs
8 years ago | 4 downloads |
Copy file to target in C - Simulink real-time
You will have to use the C/C++ API to do this; it should be documented. However, there is no function in that API to copy a file...
8 years ago | 0
How to ignore all MAC addresses except one address, when using Network boot for Simulink Real Time?
The typical usage of network boot is for a dedicated network; in other words, via a second Ethernet card on the development comp...
9 years ago | 0
| accepted
Simulink Real-Time Host Scope
You can add labels ("signal names") to the signals feeding the scope. As long as these labels are unique, they should be display...
9 years ago | 0
Call M File In SIMULINK Model
You can use the |Interpreted MATLAB function| block for this; it can be found under the |User defined functions| category in the...
10 years ago | 1
| accepted
calling xPCOpenTcpIpPort when xpc target is running
The most likely cause of this is that you have an open connection from another application, mostly likely MATLAB itself. If y...
10 years ago | 0
How to reboot the xpc target with out Matlab installed in Host machine.
You can use the xPC Target (now Simulink Real-Time) API to either create a C or .NET application that reboots the target.
10 years ago | 0
| accepted
Simulink compiler NMAKE : fatal error U1077 '0x2'
Are you sure you have |xpctarget.tlc| set as your system target file? If not, it won't be able to find the correct header files....
10 years ago | 0
Error: -16 Access Denied on xPc Target
You are correct in guessing that the file is not closed properly. You need to change the |fclose| call in h=fsys.fopen(...
10 years ago | 0
Simulink Real-time Target screen stops responding but model is running
Were you doing something prior to the "freeze"? Perhaps getting a capture of the target screen? Prior to getting a screenshot, t...
10 years ago | 0
What does the command 'SimulinkRealTime' mean when logging data with a file scope?
The command is not |SimulinkRealTime|, but |SimulinkRealTime.target|. You should find this documented as well as in the MATLAB h...
10 years ago | 1
Writing File with xPC Target using xPC Target format
When the application is stopped, you can transfer the new file (with the same name) before starting the application. If you are ...
10 years ago | 0
Online data display and aquisition
If you are looking to get time histories of data, you will need to use a host scope block. This can store a buffer of data. When...
10 years ago | 0
Is it possible log an undefined amount of data with an xPC Target File Scope?
You do not need to know how many points you will need to log. The number of samples (default 250, as you note) is most relevant ...
10 years ago | 0
| accepted
Matrix times vector with Simulink
How are you getting the results (i.e. where does M come from)? Remember that Simulink will execute the multiplication once every...
10 years ago | 0
saving datas in xpc target pc
To be supported with xPC Target, the hard disk needs to be formatted as FAT32. You can also log data to RAM from your model, unl...
10 years ago | 0
| accepted
Update simulink block parameters on xPC target
Certain parameters are not tunable. From the examples you gave, it appears that these are not. For instance, for the number of s...
10 years ago | 0
How can I hide signals in simulink so that they do not show when using xPC Target.
There is no easy way to the exact thing you are looking for. You can play with the optimization options |Block Reduction|, |Sign...
10 years ago | 0
xPC stream values from memory during run
You could use the "From Workspace" block from Simulink/Sources. On generating code, this will cache the values in memory and the...
10 years ago | 0
xPC Target in Freerun mode: extra long sample time
In addition to the other replies, Freerun mode simply runs the model as fast as it can and does not attempt to get real-time (==...
10 years ago | 0
How to save modify model in simulink
You are within the MATLAB installation directory; you would need to change to a directory where you have write permission. Be...
10 years ago | 0
Is it possible to visualize things happening on a target computer in (close to) real time on the Host?
If you are looking at instantaneous values, check out the getsignal method of the xpc object. In other words, tg = xpctar...
10 years ago | 0
When I run this code my fibonacci sequence is missing a beginning 1. Can someone please tell why it is doing this and how I can fix it?
You initialize a(1) to 1 and a(2) to 1, but then on line 7 you run a = 1:z; This changes a(1) to 1 and a(2) to 2. You c...
10 years ago | 0
How do I find the X and Y coordinates of a particular pixel in an image?
If you want to do it interactively (e.g. with a mouse), use the function |ginput|.
10 years ago | 0
Simulink Scope Plot Running Faster Than Simulation
Simulink does not run in real-time. The Simulink model will execute one step of your model, and then immediately move on to the ...
10 years ago | 0
| accepted
Is there a simple way to change sampling rate of multiple blocks in Simulink?
Please see the functions |find_system| to list blocks within your model. You will need to know the name of the parameter for sam...
10 years ago | 0
| accepted
Problem with c code (joystick)
At first glance, the two lines #define MDL_CHECK_PARAMETERS /* Change to #undef to remove function */ #if defined(MDL_CH...
11 years ago | 0
Generate Random Sample of 0's and 1's
How about a = rand(1, N) < p This creates a random vector of size N, and the < will return 1 if true, 0 if false.
11 years ago | 4
Simulink coder does not compile. Returns an error "Unable to locate specified compiler for xPC target"
You need to use the function |xpcSetCC| to set up your compiler. The fact that the mex setup does not detect your compiler is a ...
11 years ago | 0
XPC Target - SDK - Compiler
It looks like the compiler is not installed properly. You could try re-installing, or trying another version of the compiler.
11 years ago | 0