Creates a reg file and calls regedit to execute the reg file using a js script file which elevates the privileges of the command to administrator level (the user has to accept it using the User Account Control dialog) so that the registry can be modified on Windows 7 as well. (Vista not tested).
- Matlabcentral submission (id:16057 by Alex Nelson)
- Script Elevation PowerToys for Vista: http://technet.microsoft.com/en-us/magazine/2007.06.utilityspotlight.aspx
Peter Nagy (2021). Write Windows registry from Matlab on Windows 7 (https://www.mathworks.com/matlabcentral/fileexchange/32453-write-windows-registry-from-matlab-on-windows-7), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: writereg.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!