Community Profile

Rajiv Ghosh-Roy

MathWorks

Con actividad desde 2012

Followers: 0   Following: 0

Contacto

Estadísticas

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

Ver insignias

Feeds

Ver por

Enviada


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

más de 7 años hace | 1 descarga |

Thumbnail

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

más de 7 años hace | 0

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

casi 9 años hace | 0

| aceptada

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

casi 9 años hace | 0

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

más de 9 años hace | 1

| aceptada

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

más de 9 años hace | 0

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

más de 9 años hace | 0

| aceptada

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

más de 9 años hace | 0

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

más de 9 años hace | 0

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

casi 10 años hace | 0

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

casi 10 años hace | 1

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

casi 10 años hace | 0

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

casi 10 años hace | 0

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

casi 10 años hace | 0

| aceptada

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

casi 10 años hace | 0

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

casi 10 años hace | 0

| aceptada

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

| aceptada

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

alrededor de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 4

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

más de 10 años hace | 0

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

más de 10 años hace | 0

Cargar más