Using the Extern Definition and Extern Function blocks

After you import libraries, you use the Extern Definition block to set up the #include, #define, and instantiation declarations from the Arduino sketch and the Extern Function block to integrate a setup loop in the diagram.

The Embed Common Tasks Tutorial at Altair Community Documentation includes an example that demonstrates using the Extern blocks with imported Arduino libraries.