Design Pattern: Singleton (Creational)

A MATLAB® OOP implementation of the Singleton Creational Design Pattern

Download
Download

You are now following this Submission

Cite As

Rob Purser (2026). Design Pattern: Singleton (Creational) (https://in.mathworks.com/matlabcentral/fileexchange/24911-design-pattern-singleton-creational), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Software Development in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

Updated license

Download
1.2.0-0

Updated UML diagram to reflect inheritence from 'handle' class and usage of persistent variable 'uniqueInstance' in concrete class 'SingletonImpl'. Also MathWorks registered trademarks added to files.

Download
1.0.0

Download