clear; clc;

stocks = struct('name', {'TSMC', 'GOOG', 'APPL'}, ...
                'price', {100, 200, 300});
stocks(1).name
stocks(1).price