A program to recognize and reward our most engaged community members
Here is some code for Matlab, I want to achieve the function using psim. But I don't know how to build it.
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.
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?