Rank: 1310 based on 111 downloads (last 30 days) and 5 files submitted
photo

Nick Clark

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Nick Clark View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Jun 2009 Screenshot 3D mouse support using classes and events event driven object oriented support for 3dconnexions device package Author: Nick Clark 3d, space navigator, spacenavigator, pilot, com, event driven 22 3
  • 5.0
5.0 | 2 ratings
18 Jun 2009 Screenshot Mat Nanny v1.0 - RSS and html progress reports Check computation progress from anywhere with internet Author: Nick Clark development environme..., rss, html, remote, monitor, internet 8 2
  • 5.0
5.0 | 2 ratings
07 Aug 2008 Screenshot Tiny FDTD v1.0 Minimal acoustics simulation in 1, 2 or 3D Author: Nick Clark audio processing, video processing, acoustics, ray, tracing, fdtd 34 8
  • 4.0
4.0 | 12 ratings
21 Dec 2007 Screenshot Tutorial: C mex matrix demo Index matrix in C like you would do in MATLAB! Author: Nick Clark optimization, array, vectorize, guide, bsxfun, c 33 1
  • 5.0
5.0 | 2 ratings
01 Oct 2007 Screenshot Super Mario Brothers Theme - Huggins Illusion Huggins pitch via all-pass filtering played to the tune of Mario bro's Author: Nick Clark audio processing, video processing, binaural pitch, stimulus, song, auditory 14 4
  • 4.25
4.2 | 4 ratings
Comments and Ratings by Nick Clark View all
Updated File Comments Rating
25 Oct 2010 3D mouse support using classes and events event driven object oriented support for 3dconnexions device package Author: Nick Clark

Hi daf. Sorry, I've not looked at this for some time. I got a 3d mouse just to play about with. I'm not an expert on the whole product line. You might have some luck looking at the 3dconnexions website. From memory, there was quite good documentation on how to interface with the mouse using COM. You might be able to make some simple tweaks to my code to get things working. Best of luck. N

27 Sep 2010 From Simulink to DLL - A tutorial Describes how to build a DLL or shared library from a Simulink model. Author: Roland Pfeiffer

Good stuff here. Thanks! I'd just like to add a little bit. For those who don't know pascal, please see the python script pasted below. This can be used to test your dll. This specific example is for 3xinput and 2xoutput:

from ctypes import *

# first make some hooks into the impported functions
initiateController = cdll.controller._initiateController
getControllerOutput = cdll.controller._getControllerOutput
performCleanup = cdll.controller._performCleanup

# This makes python realise that the function outputs are pointers to c_chars
initiateController.restype = c_char_p
getControllerOutput.restype = c_char_p
performCleanup.restype = c_char_p

print "\n\nInitiate"
errMsg = initiateController()
print "initiateController reports : ", errMsg

print "\n\nNow to do some stuff"
inputDoubles = 3*c_double
inputData = inputDoubles(2.5, 3.0, 1.0)
p_inputData = pointer(inputData)

outputDoubles = 2*c_double
outputData = outputDoubles(0.0, 0.0)
p_outputData = pointer(outputData)

#The following line shows two different methods for passing the pointers in
errMsg = getControllerOutput(c_int(3), p_inputData, c_int(2), byref(outputData) )
print "getControllerOutput reports : ", errMsg
print "output[0] = ", outputData[0], "\noutput[1] = ", outputData[1]

print "\n\nCleanup"
errMsg = performCleanup()
print "performCleanup reports : ", errMsg

04 Nov 2009 MATLAB Contest - Flooding All the files needed to develop and score an entry for the MATLABĀ® Programming Contest. Author: The MATLAB Contest Team

Comments and Ratings on Nick Clark's Files View all
Updated File Comment by Comments Rating
24 Apr 2014 Tiny FDTD v1.0 Minimal acoustics simulation in 1, 2 or 3D Author: Nick Clark cc

03 Jan 2013 Tiny FDTD v1.0 Minimal acoustics simulation in 1, 2 or 3D Author: Nick Clark FASTAFURIOUS

Hi, I'm looking for a programme to create an 2D FDTD.

Could you help me, please?

02 Apr 2012 Tiny FDTD v1.0 Minimal acoustics simulation in 1, 2 or 3D Author: Nick Clark linus

12 Mar 2012 Tiny FDTD v1.0 Minimal acoustics simulation in 1, 2 or 3D Author: Nick Clark flash

12 Mar 2012 Tiny FDTD v1.0 Minimal acoustics simulation in 1, 2 or 3D Author: Nick Clark flash

Contact us