Matlab integration with VisSim

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

 

Submitted by gulisik on Wed, 12/05/2012 - 15:31 


Hi everyone, I have a problem about the integration of Matlab and Vissim. I have vissim student Trailer program and i built a model related with traffic simulation. However, i would like to integrate this with Matlab because i will get variables from matlab and then the simulation will evaluate the performance with this variables. Please can anyone help me about what i'm going to to? This is an academic project and if i cannot this, i will fail =(. Thanks...

Tagged:

Answers

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

    Submitted by Anders89 on Thu, 12/06/2012 - 03:49.

     

    Below is taken from the VisSim help file for keyword 'MatLab':
    The VisSim-MatLab interface allows you to access MatLab to perform matrix calculations and transfer variables between the two applications. VisSim provides three interface blocks:

    • The MatLab Expression block, which invokes MatLab to calculate a general matrix expression.

    • The MatLab Read Variable block, which reads a variable from the MatLab workspace into VisSim.

    • The MatLab Write Variable block, which writes a variable into the MatLab workspace.

    To use the VisSim-MatLab interface, MatLab version 5+ must be installed on your computer. All the blocks are located under the Blocks > MatLab Interface.