C code

Hello,

I have a question, there is a way to introduce C-code direct in a Vissim diagram. Like in Simulink there is a way to use c-code scripts. Because I have a diagram with blocks but I can not compile so I want to replace blocks with a C-code script

Thanks for the answer.

Yes, you can use the extern

Yes, you can use the extern read/write/function blocks. Though it is called function, the externFunction block lets you insert any C code as long as you do not check the "declare" option.