image thumbnail

Write Windows registry from Matlab on Windows 7

version 1.0.0.0 (2.29 KB) by Peter Nagy
Writes the Windows registry on Windows 7 as well.

346 Downloads

Updated 06 Aug 2011

View License

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).
Based on:
- Matlabcentral submission (id:16057 by Alex Nelson)
- Script Elevation PowerToys for Vista: http://technet.microsoft.com/en-us/magazine/2007.06.utilityspotlight.aspx

Cite As

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
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: writereg.m

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!