Rank: 3445 based on 37 downloads (last 30 days) and 2 files submitted
photo

Phillip

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Phillip View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
31 Jan 2013 Screenshot KeyInject Send key strokes to any window from within Matlab Author: Phillip key stroke, send, window, interprocess communic..., mex 17 1
  • 5.0
5.0 | 1 rating
01 Dec 2010 Screenshot TextInject A mex file to send text to any other application. Author: Phillip windows, application, text, send, mex 20 10
  • 3.66667
3.7 | 3 ratings
Comments and Ratings by Phillip View all
Updated File Comments Rating
12 Feb 2013 ndnanfilter.m Filter/smoothing of multidimensional data with an specified window function, ignoring NaNs. Author: Carlos Adrian Vargas Aguilera

Works great, wish they would implement NaN ignoring options like this in the stock Matlab filters. Good job!

11 Jul 2012 freezeColors / unfreezeColors Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images. Author: John Iversen

Fantastic! They should add something like this to the official Matlab release.

09 Feb 2012 Andor SIF image reader Read Andor SIF multi-channel image files. Author: Marcel Leutenegger

I am not having much luck with this stuff. Here are the things I have tried:

1) The folder in the Solis directory 'MatlabSIFReader' that came with my version of Solis (uses SDK version 2.92.32003.0)
2) The one pointed to by Phil from Andor above (SDK version 2.90.20000.2 - no idea why the version on the Andor site does not match the latest)
3) The really useful script put together here
4) The alteration to the script made by Uli Kle├činger above for the SCMOS, which is the camera I have.
5) The "Export As..." command to convert the .SIF file to an .AVI, which I could easily import into Matlab. When I try this, the Solis software crashes every time(!!).

This Andor camera is a nice piece of hardware, but the software is simply atrocious.

14 Jul 2011 TextInject A mex file to send text to any other application. Author: Phillip

Sure. The device I communicate with is a camera. Here is an example of the code I use to change the gain of the camera:

textInject('Pulnix - HyperTerminal',100,100,sprintf(':GMFF\r'))

The : indicates the beginning of the signal and the \r indicates the end. I understand these are pretty common symbols with this type of device communication, so might apply to your device too.

The rest is device-specific for this (Pulnix) camera, indicating that we want to change Gain, set it Manually, and to a value of 255 (FF in hex format).

Hope this helps.

04 Apr 2011 TextInject A mex file to send text to any other application. Author: Phillip

Hi Jan,

That's a neat trick to rename the Matlab window, thanks!

Neither \n nor \r work unfortunately. However I know that the Matlab command line *can* recognize a newline because when you copy-paste code you can pick up the invisible newline and it will execute straight away when you paste it to the command line. But this internal Matlab character must not match the ANSI C standard (maybe to protect against malicious scripting attacks?).

Comments and Ratings on Phillip's Files View all
Updated File Comment by Comments Rating
14 Feb 2014 TextInject A mex file to send text to any other application. Author: Phillip Masullo, Alessandro

Very nice!

12 Nov 2013 KeyInject Send key strokes to any window from within Matlab Author: Phillip Mario

Works just as described. Very useful script. Helped me tremendously. Thanks!

12 Nov 2013 KeyInject Send key strokes to any window from within Matlab Author: Phillip Mario

14 Jul 2011 TextInject A mex file to send text to any other application. Author: Phillip Phillip

Sure. The device I communicate with is a camera. Here is an example of the code I use to change the gain of the camera:

textInject('Pulnix - HyperTerminal',100,100,sprintf(':GMFF\r'))

The : indicates the beginning of the signal and the \r indicates the end. I understand these are pretty common symbols with this type of device communication, so might apply to your device too.

The rest is device-specific for this (Pulnix) camera, indicating that we want to change Gain, set it Manually, and to a value of 255 (FF in hex format).

Hope this helps.

10 Jul 2011 TextInject A mex file to send text to any other application. Author: Phillip Hansen, Poul-Erik

Great Program
I also have a device that I can only communicate with by establising a telenet connection within a windows command window or HyperTerminal. Could you give some hints about how you make your interactive script.

Contact us