matlab: Adapt examples to new callback style
Fix typos