Write String Value to Windows Registry

A function the writes a string value to a key in the windows registry

You are now following this Submission

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://in.mathworks.com/matlabcentral/fileexchange/36681-write-string-value-to-windows-registry), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Updated to create registry key if necessary

1.0.0.0