A photovoltaic DC to DC buck-boost zeta converter using a novel MPPT technique was modeled using a Matlab–Simulink tool, and we designed a new 5 × 7 optimized FLC-based Hopfield NN that is embedded in the simulation using the Matlab function tool. Thesource program of the designed Hopfield NN and optimized FLC are written in C. The entire proposed model is illustrated in Fig. 12.