Topic
  • 1 reply
  • Latest Post - ‏2013-02-13T16:57:30Z by Eldad Palachi
SystemAdmin
SystemAdmin
1305 Posts

Pinned topic C code generation from SysML

‏2013-02-12T15:02:20Z |
Hi,
Is anyone aware of any limitation in generating C code out of a SysML model, as opposed to generating C++? Is there any modeling construct for which a C code implementation is not defined? I was wondering about that because the SysML profile is by default available in RhapsodyInC++, but not in RhapsodyInC.

Thanks,
Massimiliano
Updated on 2013-02-13T16:57:30Z at 2013-02-13T16:57:30Z by Eldad Palachi
  • Eldad Palachi
    Eldad Palachi
    9 Posts

    Re: C code generation from SysML

    ‏2013-02-13T16:57:30Z  
    Hi,
    I think it is possible although designed to work with C++.
    The SysML profile comes with with the SIDefinitions.h but I think it can be used for C too.
    Also you will need to put Rhapsody in C mode and also use the C action language (call foo(me) or foo(me->itsB))
    Eldad