C code

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Submitted by danilo.llano on Thu, 06/07/2012 - 23:15

 

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.

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Tech Support Staff on Thu, 06/07/2012 - 23:40.

    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.