MATLAB: How to change this

MATLAB

I'm sorry I always ask you something similar.
I am studying Matlab.
I have a M
M = '0110000101100010011000111000000000000000000000000000000000000000'
how to make array like this? just 1 row
M_array = [ 0 1 1 0 0 0 0 1 0 1 1 0 0………. 0 0 0 ]

Best Answer

M_array = str2double(num2cell(M))