How to get the model

Ceasar
Altair Community Member
Here is some code for Matlab, I want to achieve the function using psim. But I don't know how to build it.
Tagged:
0
Answers
-
Hi @Ceasar,
You can use a simplified C block with three inputs and one output. Implementation in C would be very similar to MATLAB, with some syntax differences for if statements.
0 -
Using the c, I completed it. But I need to co-simulate with ltspice, it doesn't work. So do you know how to build the logical circuit?
0