From: Sean on 20 Oct 2009 19:40 If I register an adaptor with the image acquisition toolbox, then I will not be able to register another adaptor with the same name. I am writing my own adaptor and I need to test it. I don't want to give a new name for the same adaptor everytime. So, how do I unstall an adaptor in Matlab?
From: Dave Tarkowski on 22 Oct 2009 09:16 Sean wrote: > If I register an adaptor with the image acquisition toolbox, then I will not be able to register another adaptor with the same name. > > I am writing my own adaptor and I need to test it. I don't want to give a new name for the same adaptor everytime. So, how do I unstall an adaptor in Matlab? When you register an adaptor, what you are really registering is the file location, so if you're just compiling a new version of the adaptor but keeping the location the same, you don't need to worry about re-registering it. If really do want to unregister an adaptor, you can do the following: >> imaqregister('myadaptor.dll', 'unregister'); -Dave Tarkowski
From: Mark Jones on 26 Oct 2009 09:15 Dave Tarkowski wrote: > Sean wrote: >> If I register an adaptor with the image acquisition toolbox, then I >> will not be able to register another adaptor with the same name. >> I am writing my own adaptor and I need to test it. I don't want to >> give a new name for the same adaptor everytime. So, how do I unstall >> an adaptor in Matlab? > > When you register an adaptor, what you are really registering is the > file location, so if you're just compiling a new version of the adaptor > but keeping the location the same, you don't need to worry about > re-registering it. > > If really do want to unregister an adaptor, you can do the following: > > >> imaqregister('myadaptor.dll', 'unregister'); > > -Dave Tarkowski Also, if you want to keep MATLAB open during testing and recompilation, you can call IMAQRESET before compilation so that the toolbox releases the adaptor DLL. The adaptor DLL will then be reloaded the next time you call IMAQHWINFO or VIDEOINPUT (for that adaptor). Mark
|
Pages: 1 Prev: actxGetRunningServer with multiple Excels Next: M-FSK Modulator Baseband block in simulink |