You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
For a specified Simulink object (block, port, line, block diagram etc.), or for the current block if no object is specified, this function lists its parameters.
The parameters are sorted alphabetically by name, and the value of each is shown where possible.
It is considered "possible" to show the value where it is a numeric scalar or a single-line string of less than 100 characters. This covers the vast majority of Simulink parameters.
Otherwise, the data type of the value is shown, and the user can retrieve the actual value using get_param.
Cite As
Malcolm Wood (2026). allparams: Lists all parameters of a Simulink object and their values (https://se.mathworks.com/matlabcentral/fileexchange/13403-allparams-lists-all-parameters-of-a-simulink-object-and-their-values), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: getp
General Information
- Version 1.2.0.1 (1.83 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
