Software Listing of Author : "Nathan Tomlin"

Examples of using matlab to talk to a National Instruments (NI) DAQ card _without_ the 'data acquisition toolbox' I have mainly used code and examples from Jens Roesner here: http://www.jr-worldwi.de/work/matlab/index.html However, I had to make a few slight tweaks to get it to work for me. I have only tested this on Matlab 7.8.0 (R2009a) on WinXP with a NI PCI 6220 board, so no guarantees. Using Jens' code, I got an error -200088 whenever I tried to create a channel. To get it working, I had to change the initial task handles to uint32([]) which then returned a pointer for taskhandle I also had trouble with creating tasks, then losing the taskhandle, and not being able to create the same task because of a name conflict. The solution is to not name any of the tasks - names don't seem to be useful anyway. So all my functions pass an...

  • Platform: Matlab, Scripts

I found that the bounding box on matlab exported eps files was too large on the left and right side. This script just reads in the .eps file and reduces the bbox. % matlab seems to compute a bounding box on eps files which is too % large in the x-direction % % this script fixes the bounding box. % it is 99% stolen from fixeps.m, located here: % http://www.mathworks.com/matlabcentral/fil...objectType=file % the only change is that this actually changes the bbox numbers % seriously, the only change is the addition of lines 19,20,31,32 % % boundingbox has form of: % %%BoundingBox: x1 y1 x2 y2 % where (x1,y1) is lower-left and (x2,y2) is upper-right % % matlab computes x1 too small and x2 too large

  • Platform: Matlab, Scripts

Must have MATLAB_LJUD.zip file from http://labjack.com/support/ud/examples/matlab and 'LJUD_Functions' folder must be on path or in the current directory inputs: op operation to perform, options are: temperature - read internal temp in Kelvin AnalogIn,N read single-ended analog input from channel N AnalogInDiff,N1,N2 read differential analog input from channels: N1-N2 AnalogOut,N1,N2 set analog output channel N1 (0 or 1) to voltage N2 DigitalIn,N - read 0 or 1 on channel N DigitalOut,N1,N2 set channel N1 to digital value N2 (0 or 1) StreamAnalogIn,N1,N2,N3 stream from channel N1 (can be array of multiple channels) at rate N2 samples/sec for total of N3 seconds varargin - currently no options examples: T = LabJackU3('temperature') return internal temperature V2 = LabJackU3('AnalogIn',2) return AIN2-GND voltage V6to5 =...

  • Platform: Matlab, Scripts

Fixes x data so that interp1 doesn't return error: 'The values of X should be distinct.' Checks for duplicate values in input 1D data array and returns array where all values are distinct. If duplicates are found, values are separate by small value (eps). useage: x = nonduplicate(x); yi = interp1(nonduplicate(x),y,xi) Example: interp1([1,1,2],[1,1,2],1.5) returns an error. interp1(nonduplicate([1,1,2]),[1,1,2],1.5) works just fine.

  • Platform: Matlab, Scripts

Automatically rename files by age from a set date. I use it to date pictures and videos of my kid. % function rename_files_by_age() % % function to automatically rename pictures and videos to start with age % from specified date. Written for baby pictures. % Change name to from 'foo' to '##Y##M##D_foo' % ie - 'foo.jpg' to '01Y03M10D_foo.jpg' if pic taken 1 year, 3 months, 10 % days after birth % % I tried to keep it simple, so I just copy it into a folder with files I % want to rename and then run it % I put all video files in a subfolder called 'videos' % change variable folder_videos below if you do something different % % my files came from many different sources % (iPhone, android phone, multiple cameras, ipcamera) % and they don't all have the same info, so here's what I came up with % for *.jpg pictures: % - I try exifread to...

  • Platform: Matlab, Scripts
New Reviews

Print Inspector

Whether you are using a printer connected to your local desktop computer or a print server sometimes you need to see whats going on in your printer by having a close look at the print jobs sent by the users. Print Inspector is such type software ...


Disk Genius

Disk Genius was formerly known as Partition Guru which is an all-in-one solution for disk partition management, data recovery and disk repairing. It can recover lost files from partition, backup and restore partition table, clone partition or clone ...


Safe In Cloud

It is quite difficult to find any computer users nowadays who do not need to use the web, for any purpose. Whether it is for education or entertainment, the web is your best resource. You also need to use various online services for banking, ...


PictBear

Nowadays, a majority of PC users resort to digital image editing once in a while. It may be required for retouching image captured in smart phones or for creating an album in Facebook. For some people, tinkering with digital images is a pastime too. ...


Panda Cloud Cleaner

PC security has become a tricky and complicated subject both for home users and network supervisors, with complexity and risk factors multiplying over the years. Using a single antivirus app may not be enough anymore. That explains why many users ...


SnapCrab

Nearly every PC users need to take screenshots from time to time, whether it is for personal or professional needs. While using the basic Windows screenshot capture method is available, it is not adequate for everyone. When you want to capture ...


BitKiller

Dealing with various types of data efficiently holds the key to success in any computing task. Apart from generating new data and modifying existing files, it becomes necessary to delete existing files at times. While most users resort to using ...


New Downloads

Spool Queue Viewer++

Spool Queue Viewer++ is a
feature rich spool queue
viewer that windows should
have by default, we have taken
it to the ...

Project Timer

Project Timer, a project timer
for the Windows taskbar
notification area. Project
Timer is a simple but powerful
windows ...

GlassWire Firewall

GlassWire\'s free firewall
software helps protect your
computer, privacy, and data by
monitoring your network
activity. ...

Disk Usage Analyzer Free

Disk Usage Analyzer Free - a
small utility that will help
you visualize how to allocate
space on your hard drive. Any
PC ...

Pidro Challenge

The Pidro card game - a game
of daring and skill. You and
your computer partner play
against two computer
opponents.

DreamPlan Home Edition

DreamPlan Home Edition for
Windows is an easy to use
software. See your dream floor
plan with customized kitchens,
...

Pixillion Premium Edition

Pixillion Premium Edition is
perfect for converting your
image files for posting on the
web, emailing to friends, or
...

Devart ODBC Driver for
PostgreSQL

Devart ODBC Driver for
PostgreSQL is a
high-performance connectivity
tool with enterprise-level
features for accessing ...

Sheet Lightning Pro

Sheet Lightning is a
specialised engineering 2D/3D
CAD System for creating and
unfolding sheet metal designs
for ...

Devart ODBC Driver for
MySQL

Devart ODBC Driver for MySQL
is a high-performance
connectivity solution for
accessing MySQL, Microsoft
Azure Database ...