allparams: Lists all parameters of a Simulink object and their values
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.
Zitieren als
Malcolm Wood (2025). allparams: Lists all parameters of a Simulink object and their values (https://www.mathworks.com/matlabcentral/fileexchange/13403-allparams-lists-all-parameters-of-a-simulink-object-and-their-values), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert von: getp
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.1 | Updated license |
||
1.2.0.0 | Added copyright line and eliminated various M-Lint warnings. As a minor side effect, this makes it incompatible with an release older than R14. |
||
1.1.0.0 | Review |
||
1.0.0.0 |