Write String Value to Windows Registry

Version 1.1.0.0 (2.01 KB) by Gordon
A function the writes a string value to a key in the windows registry
358 Downloads
Updated 21 May 2012

View License

A function the writes a string value to a key in the windows registry. At the moment there are a number of limitations:
* Only works for string values

Example Usage:
win_write_reg_sz('HKLM','Software\MyProg','TheValue','Hello');

Cite As

Gordon (2024). Write String Value to Windows Registry (https://www.mathworks.com/matlabcentral/fileexchange/36681-write-string-value-to-windows-registry), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Updated to create registry key if necessary

1.0.0.0