I'm looking for a way to load constants defined in an external file to the workspace, keeping their original names.
I generate a row of constants, using an external application, that looks like this:
Now, I'd like to load this data (which is stored in a file) into the Matlab workspace, preserving the constant names, so that, after the import, the A, B and C constants with the corresponding values are visible in the workspace and usable in my model.
I have full control on the imported file's format, too.
Any idea on how to achieve this, is greatly appreciated! Thank you!