You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
To change the delimiter, you must change the '#' on line 14 to any other character.
% This function will read a file for the requested parameter. This will
% be useful when you forget how your code works and need to tune it
% written by Kevin Sheridan, for use under GPLv3
% INSTRUCTIONS:
% use: value = readParam('fileName.txt', 'parameterName')
% A PARAMETER FILE EXAMPLE:
% param1 #1.3567# unit/explanation
% param2 #-2.7896# m/s (the speed of object X)
% ...
Cite As
Kevin Sheridan (2026). readParam( fileName, paramName ) (https://in.mathworks.com/matlabcentral/fileexchange/58283-readparam-filename-paramname), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (918 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
