%%python # I am in a MATLAB kernel so need to add the above IPython magic to use the python kernel instead. # You can skip this magic in a standard python kernel print('hello from Python') disp('hello from MATLAB')