Menu

Matlab Class Generator

David Otter

Matlab Class Generator

After the installation progress you should be able to generate the Matlab Classes if you select a genmodel element with right click -> Generate Matlab Code.

error encountered while loading picture

The Generator supports things like abstract classes, inheritance, variables, an auto generated constructor, type checking for Matlab standard types in the set method, auto generated get methods, function headers and enumerations.

You can add functions manually and later on when your model has changed generate it again. No functions and comments that you have added within the class will be deleted. If you want to change a generated part of the code, change the comment to "Generated NOT" so that it won't be overrided when you generate the code again.

For general questions about Eclipse EMF see http://www.vogella.com/articles/EclipseEMF/article.html or http://www.eclipse.org/modeling/emf/.


Related

Wiki: Matlab Generator

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.