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
365 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 (2026). Write String Value to Windows Registry (https://uk.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
Version Published Release Notes
1.1.0.0

Updated to create registry key if necessary

1.0.0.0