implement a circuit in m.file

11 views (last 30 days)
Mohammad
Mohammad on 14 Oct 2014
Answered: Tim McBrayer on 14 Oct 2014
Hello I want to multiply admittance matrix of power electronic converter(PEC) in m.file of matlab,First i want to multiply matrix admittance of circuit to vector of current source to achieve nodal voltage. the current source is dependent to voltage of node, so the vector of current source should be updated in simulation time. i want to implement the circuit in M.file in final stage i want to convert mfile to VHDL or Verilog How i can begin to write in m.file?

Answers (1)

Tim McBrayer
Tim McBrayer on 14 Oct 2014
I can't help you with your domain issues, but you will need HDL Coder in order to convert a MATLAB file to VHDL or Verilog. I suggest you start with the documentation examples included with the product to gain an understanding of how to run the tool and to start learning the style of MATLAB that you need to write in order to generate efficient HDL.

Categories

Find more on Code Generation in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!