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.
This topic has been locked.
1 reply Latest Post - 2013-02-13T16:57:30Z by Eldad Palachi
Pinned topic C code generation from SysML
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-13T16:57:30Z at 2013-02-13T16:57:30Z by Eldad Palachi
Eldad Palachi 270001KJC29 PostsACCEPTED ANSWER
Re: C code generation from SysML2013-02-13T16:57:30Z in response to SystemAdminHi,
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))