Can I have a stack data structure in matlab?

For example a stack of integers where I can push elements in it like `stack.push(i)`, get elements out of it like `i = stack.pop()` and check out if it is empty `stack.isempty()`.