Dear Gianmaria,

Topcased UML models are stored internally using the standard Eclipse UML2 
metamodel and implementation, so you could consider any Eclipse-based tool 
that can process these models. You are not restricted to what Topcased 
provides.

I suggest that you start here:

   http://www.eclipse.org/modeling/m2t/

which describes three such tools. IMHO Acceleo is good for a single-pass 
model to text transformation. It is also a dependency of some of the 
Topcased components, so it may well be present in your Topcased installation 
anyway.

If the transformation that you are thinking of writing will need multiple 
passes through the model, Xpand is probably more suitable. I use it 
extensively, and it is much more than a model-to-text templating system. You 
can define your own metamodels and do internal model-to-model 
transformations using the Xtend language, Java or a mixture of the two, and 
use Xpand templates to emit text for the final target.

I have not used Jet, so I can't comment on it.

You may also find this link of interest:

   http://code.google.com/p/kth-simulink-exchange/

They have used Papyrus rather than Topcased as a UML editor, but that 
is not significant: the .uml files that they use are the same as the 
Topcased ones, and a future version of Topcased will use Papyrus as its UML 
editor anyway. They have used ATL for the transformation, which is part of 
the Eclipse Model-to-Model initiative:

    http://www.eclipse.org/m2m/

If you are new to this stuff, it may take some time and effort to become 
familiar with it, but it is well worth it in my opinion.

I hope that this is helpful,
Peter.

On Sun, 5 Jun 2011, Topcased user list where issues are discussed 
wrote:

> Hi everyone,
>
> I have discovered topcased only last week, but I found it very useful to 
> model a plant simulator with SysML
> The plant simulator will be developed in Matlab/Simulink, and I would like to 
> automatically generate the "skeleton" of my simulink schemes starting from 
> the block diagrams.
>
> In order to to that I think that I must write a customized model 
> trasformations tool (such as UML to Java etc.). Could someone tell me where 
> to find the documentation to do that ?
>
> Thank you
>
>

-- 
Peter Keller                                     Tel.: +44 (0)1223 353033
Global Phasing Ltd.,                             Fax.: +44 (0)1223 366889
Sheraton House,
Castle Park,
Cambridge CB3 0AX
United Kingdom



_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users

Reply via email to