For code block, you can use octave instead of MATLAB. Example:
octave function temp()
I hope this helps.