Rank: 862 based on 81 downloads (last 30 days) and 5 files submitted
photo

Nick Clark

E-mail

Personal Profile:
Professional Interests:
Audio

 

Watch this Author's files

 

Files Posted by Nick 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, 3d connexions, design, pilot, com, event driven 8 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 0 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 3d, fdtd, 2d, acoustics, room, ray 45 7
  • 4.28571
4.3 | 7 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 15 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 13 4
  • 4.25
4.2 | 4 ratings
Comments and Ratings by Nick 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's Files View all
Updated File Comment by Comments Rating
27 Sep 2011 Tutorial: C mex matrix demo Index matrix in C like you would do in MATLAB! Author: Nick Clark Kim, Jeong

The tutorial helped a lot.

Thanks.

01 Aug 2011 Tutorial: C mex matrix demo Index matrix in C like you would do in MATLAB! Author: Nick Clark Kumar , Nitin
04 Apr 2011 Tiny FDTD v1.0 Minimal acoustics simulation in 1, 2 or 3D Author: Nick Clark Mehmood, Nayyar

very great job ...

14 Dec 2010 Super Mario Brothers Theme - Huggins Illusion Huggins pitch via all-pass filtering played to the tune of Mario bro's Author: Nick Clark Henriques, Joao

Intriguing stuff; it's impossible to hear the "tune" when listening to it only with the left or right side of the headphones. I still can't believe it's an illusion, it sounds so real! As someone who has always liked optical illusions I can now add an audio illusion to the mix :) Thanks also for the PDF and references to more reading material.

25 Oct 2010 3D mouse support using classes and events event driven object oriented support for 3dconnexions device package Author: Nick Clark Clark, Nick

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

Top Tags Applied by Nick
audio processing, video processing, 3d, 2d, 3d connexions
Files Tagged by Nick 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, 3d connexions, design, pilot, com, event driven 8 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 0 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 3d, fdtd, 2d, acoustics, room, ray 45 7
  • 4.28571
4.3 | 7 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 15 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 13 4
  • 4.25
4.2 | 4 ratings

Contact us at files@mathworks.com