methods_container_e​xample

Version 1.0.0 (1,71 KB) von Matlab Pro
a handy container for methods
1 Download
Aktualisiert 4. Mär 2025

Lizenz anzeigen

This is a handy way to encapsulating methods related to a specific subject together - on a single file.
This way it is very easy for the end-user to get all methods relevant to a specific subject.
Usage:
methods_container_example
- returns a cellarray of the local functions in this file
out = methods_container_example('func',arg1,arg2,...)
- calls the local function 'func' with the given input arguments
Examples:
methods_container_example % returns the list of the inner local functions
methods_container_example('dispHello') % runs the "dispHello" function
out = methods_container_example('computeArea',4,3) % runs the "computeArea" function

Zitieren als

Matlab Pro (2025). methods_container_example (https://www.mathworks.com/matlabcentral/fileexchange/180295-methods_container_example), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2024b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0