Matlab Standalone Applications How to Create a User Class for Simple User Models Overview Many GUI applications use class hierarchies where most data is exposed for inheritance. For those applications, it is wise to write your own class hierarchies instead of implementing your own data models across your applications. So let’s create our own class hierarchy and introduce it. namespace Datum; use namespace Datum::Data; use namespace Data::AnnotationModel; use namespace UI::Menu.Bar; use class Datum ::Data.AnnotationModel; namespace UnitMenu { use Datum::EntityType = UserClass; class User extends EntityType { public: string Foo[String] {} void Bar(string Foo, string Foo[String] Foo) { } }; }; The above example derives from the official documentation, but as an example, there are several differences between this example template and Datum.scala syntax. For a complete discussion on these differences, see the book, Example Programming on Windows. Adding Base Classes to the Data Model The main difference between Datum and the corresponding native class hierarchy is in Data::EntityType and Intent::Group. Creating a new instance of an instance of a DataGroup automatically generates these members of that class: A single attribute and their associated database schema. A class of that type receives the attributes and schema from its users, which have the same database schema as the user name, the value of the