Answer:
%seperatethem.m
%Creation and definition of functions
function [l w] = separatethem(myrectangle)
%Call the structure field length.
l = myrectangle.length(1);
%Call the structure field length.
w = myrectangle.width(1);
%Ending call function.
end
%trial of program
%Create a structure with two fields length and width.
myrectangle = struct('length',33,'width',2);
%Call the function separate them.
[l w] = separatethem(myrectangle)