Community Profile

photo

Ankit Desai


The MathWorks Inc.

170 total contributions since 2008

Senior Software Quality Engineer,
MATLAB Hardware Team.
Professional Interests: Microcontrollers (Arduino, Beaglebone, Raspi etc.) Instrument control, GPIB, Serial (RS232), VISA, TCP/IP, UDP, IVI, LXI, PXI, VXI

Contact

Ankit Desai's Badges

  • First Answer
  • 
  • Knowledgeable Level 2
  • 
  • Revival Level 2
  • 
  • 6 Month Streak
  • 

View details...

See 1 Cody Badge

Contributions in
View by

Submitted


Collect and plot data from a TCPIP server in real time
Obtain real time data from a TCPIP object using Instrument Control Toolbox and visualize it live.

1 year ago | 26 downloads |

Thumbnail

Submitted


Collect and plot data from an instrument in real time
Real time data collection & plotting using query based instrument interactions.

1 year ago | 66 downloads |

Thumbnail

Answered
Can I use MATLAB to communicate with a Serial Port and/or a Virtual Serial (USB-to-Serial) Port?
You can use MATLAB to talk to your computer's serial port on any of the MATLAB's <http://www.mathworks.com/support/sysreq/curren...

2 years ago | 3

| accepted

Answered
send data from one computer to an other computer using matlab via internet.
If you are using MATLAB R2011a, you can use Instrument Control Toolbox's TCPIP object as a Server Socket via the NetworkRole pro...

3 years ago | 1

Submitted


Serial Monitor (Debugger)
MATLAB substitute for Arduino's Serial Monitor (Debugger).

3 years ago | 26 downloads |

Thumbnail

Answered
Why i can't connect with an instrument using ivi com driver?
IVI-COM is not supported on 64-bit platform. However, if the driver installs both the 32 as well as 64 bit, then you should be a...

4 years ago | 0

Answered
Plot data with time axis
<http://www.mathworks.com/matlabcentral/fileexchange/25519-collect-and-plot-data-from-an-instrument-in-real-time This file excha...

5 years ago | 1

| accepted

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

5 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

5 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

5 years ago

Answered
Bluetooth Communication over MatLab
Hi Chris, You might want to consider a couple of things: # Make sure that the device is paired prior to accessing it in MA...

5 years ago | 0

| accepted

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

5 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

5 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

5 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 years ago

Responded


Re: instrument control toolbox on mac osx 10.6
Hi, For GPIB and/or VISA to work on Mac OSX with 64-bit MATLAB, the 3rd party (NI, Agilent etc.) GPIB/VISA driver has to be nat...

5 years ago | 3486 views

Responded


Re: instrument control toolbox on mac osx 10.6
Hi, MATLAB R2011a is not available for 32-bit Mac OSX. Please see this website for more details on platform support. http://ww...

5 years ago | 3486 views

Responded


Re: Send "string" to serial port?
The fprintf command (http://www.mathworks.com/help/techdoc/ref/serial.fprintf.html) allows you to write a string to the device c...

6 years ago | 6810 views

Responded


Re: instrhwinfo shows nonexistent ports
Hi Erik, Currently it is not possible to have the instrhwinfo output refresh for serial ports without restarting MATLAB. The li...

6 years ago | 6065 views

Answered
Recieving UDP from iphone
You can use <http://www.mathworks.com/products/instrument/ Instrument Control> Toolbox's <http://www.mathworks.com/help/toolbox/...

6 years ago | 2

Responded


Re: A timeout occured before the terminator was reached
Thanks for posting the update here. Regards, -Ankit

6 years ago | 24149 views

Answered
Transfer data wireless
<http://blogs.mathworks.com/loren/2011/05/27/transferring-data-between-two-computers-using-matlab/ This blog> post might be help...

6 years ago | 0

Answered
Connect a socket of TCP/IP on the same machine, R2009b and VC++2008 express SP1
<http://blogs.mathworks.com/loren/2011/05/27/transferring-data-between-two-computers-using-matlab/ This blog> post might be help...

6 years ago | 0

| accepted

Responded


Re: A timeout occured before the terminator was reached
Following the documentation listed here might help. http://www.mathworks.com/help/techdoc/matlab_external/f95464.html If that d...

6 years ago | 24149 views

Answered
How do I write to move the line in sending serial?
When using serial object (and any Instrument Control Toolbox object) using fprintf will automatically append the 'Terminator' ch...

6 years ago | 0

Answered
Serial port is not available in GUI but it actually available in my pc
There are a few things that you might want to check: # Make sure the port is not used in any other application (such as hyper...

6 years ago | 0

Responded


Re: Buffer size TDS2014
If you are using the MDD file for the same, you can use the FirstPoint, EndingPoint and MaxNumberPoint properties under the wave...

6 years ago | 2488 views

Responded


Re: Want to transmit a .wav file from one PC to another PC through tcp/udp port
Hi, The following post might help. http://blogs.mathworks.com/loren/2011/05/27/transferring-data-between-two-computers-using-m...

6 years ago | 3297 views

Load more