Rajiv Ghosh-Roy

MathWorks

自 2012 起处于活动状态

Followers: 0   Following: 0

消息

统计学

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

查看徽章

Feeds

排序方式:

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

| 已接受

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

| 已接受

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

| 已接受

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

| 已接受

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

| 已接受

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

| 已接受

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

| 已接受

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

已回答
TCP/IP communication problem
You can ignore the File System error, it means simply that it can't find a usable file system. For most activities, you will not...

11 years 前 | 0

| 已接受

加载更多