image thumbnail

Write Windows registry from Matlab on Windows 7

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


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:

Cite As

Peter Nagy (2021). 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

Inspired by: writereg.m

Community Treasure Hunt

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

Start Hunting!