1. if-else equivalent block for hdl code generation - MATLAB Answers - MATLAB Central 2. Getting Started with RAM and ROM in Simulink- MATLAB & Simulink