Community Profile

Rajiv Ghosh-Roy

MathWorks

Active since 2012

Statistics

All
  • 5-Star Galaxy Level 3
  • First Submission
  • 6 Month Streak
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

View badges

Content Feed

View by

Submitted


Disabling SMIs on Intel(R) ICH5 chipsets
Avoid CPU overloads with xPC Target(TM) on Intel(R) chipsets by disabling SMIs

mer än 7 år ago | 1 download |

Thumbnail

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

mer än 7 år ago | 0

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

nästan 9 år ago | 0

| accepted

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

nästan 9 år ago | 0

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

mer än 9 år ago | 1

| accepted

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

| accepted

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 1

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

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

mer än 9 år ago | 0

| accepted

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

nästan 10 år ago | 0

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

nästan 10 år ago | 0

| accepted

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

nästan 10 år ago | 0

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

nästan 10 år ago | 0

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

ungefär 10 år ago | 0

Answered
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 (==...

ungefär 10 år ago | 0

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

ungefär 10 år ago | 0

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

ungefär 10 år ago | 0

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

ungefär 10 år ago | 0

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

ungefär 10 år ago | 0

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

ungefär 10 år ago | 0

| accepted

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

ungefär 10 år ago | 0

| accepted

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

ungefär 10 år ago | 0

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

ungefär 10 år ago | 4

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

ungefär 10 år ago | 0

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

mer än 10 år ago | 0

Load more