blockfactory
blockfactory copied to clipboard
Notes about Modelica support
This are some random notes related to get blockfactory
to generate Modelica blocks. It is meant to be more a place where to store relevant information, rather than an issue that should be closed in the short term.
External C code can be called from Modelica blocks using "External Functions', see http://book.xogeny.com/behavior/functions/external/ for more info.
An example of a simple Modelica MIMO block implemented using C external code (in that case to enable ROS integration) can be found in https://github.com/ModROS/ROS_Bridge/blob/d9a011da3f079b12ac93b106811f3bf585add7ec/Blocks/ROS_Sampler.mo . See https://github.com/ModROS/ROS_Bridge#usage-summary for a more detailed description of the block.