Integrating hand code in VisSim
Submitted by Satyabrata on Mon, 03/02/2015 - 20:19
Is there a way to integrate an hand written code (c or matlab) for a specific 'Integrator' in VisSim?
Answers
-
Submitted by pete on Tue, 03/03/2015 - 02:54.
You can integrate your own C code into a custom block using the VisSim block API. This is described in the VisSim user guide under 'Customizing the Block Set'. However, one thing that you can't do is create your own integration method. However, if you use the VisSim C Code generator, and you purchase the C-Code Support Library Source Code, then you will have the source code to 100% of the C code environment including the integration methods. You can start with one of the supplied integration methods and add your own custom method.
0