https://la.mathworks.com/help/matlab/ref/loadenv.html
loadenv - Load environment variables from .env and plain text files - MATLAB
This MATLAB function loads environment variables from .env and plain text files by parsing one key-value pair per line and sets them as environment variables...
environment variablesplain textload