MATLAB: How to create m_file to simulink block

simulationsimulink

If I want control simulink block by code in m_file.How Should I do. Thank you. I'm sorry I'm not good english.