From: Jesse Connell on 23 Jun 2010 15:28 I'm having trouble with getting Matlab to start up on Windows 7 when User Account Control is enabled. I installed Matlab 2010a and drivers for my acquisition card (nidaq), and set it up as an administrator. Everything works fine there. When I start Matlab as a normal user (with UAC enabled at any level), though, the dialog pops up requesting administrative privileges. The only way I can run Matlab as a non-admin user is by disabling UAC entirely, which I'd rather not do. I've tried running daqregister('nidaq') as an administrator as suggested here: http://www.mathworks.com/support/solutions/en/data/1-5SAEJ8/index.html But it doesn't seem to have any affect. Solution 1-36TXZP implies that Matlab *must* be run as an administrator when UAC is enabled (contradicting 1-5SAEJ8, by the way). This really isn't an option, since many users need to use Matlab on these machines, and they don't have administrative privileges. Any ideas?
From: Jesse Connell on 16 Jul 2010 14:00 I did a completely fresh install of Windows 7 on an identical machine for testing, using one administrator and one basic account, with UAC enabled. After running MATLAB once elevated into administrative mode as the admin user, everything worked as expected (I didn't even need to explicitly run daqregister). The basic user can now run MATLAB and use the Data Acquisition Toolbox, just as solution 1-5SAEJ8 suggests. The only explanation I can think of is that the previous problem was a result of how the initial DAQ registration happened-- I had started from a basic network user account, and then elevated to admin privileges using a network administrator account. In the second case I started from a completely separate, local administrator account and then elevated privileges from there. I'd be curious to know if anyone else has seen this sort of behavior. "Jesse Connell" <jesse08(a)bu.edu> wrote in message <hvtn85$2o7$1(a)fred.mathworks.com>... > I'm having trouble with getting Matlab to start up on Windows 7 when User Account Control is enabled. I installed Matlab 2010a and drivers for my acquisition card (nidaq), and set it up as an administrator. Everything works fine there. When I start Matlab as a normal user (with UAC enabled at any level), though, the dialog pops up requesting administrative privileges. The only way I can run Matlab as a non-admin user is by disabling UAC entirely, which I'd rather not do. > > I've tried running daqregister('nidaq') as an administrator as suggested here: > > http://www.mathworks.com/support/solutions/en/data/1-5SAEJ8/index.html > > But it doesn't seem to have any affect. Solution 1-36TXZP implies that Matlab *must* be run as an administrator when UAC is enabled (contradicting 1-5SAEJ8, by the way). This really isn't an option, since many users need to use Matlab on these machines, and they don't have administrative privileges. Any ideas?
|
Pages: 1 Prev: how do I do "today in last year" in Matlab? Next: Replacing values in an array |