Question: I'm creating an admin tool for a project where I create an Event, then create multiple Speakers (on one page), then need to create multiple Talks for each Speaker.

Rather than have all the Speakers listed on one page after creation, and then put multiple Talks against each Speaker (which looks crazy due to all the input boxes), I'd like to gradually step through each Speaker, create the Talks for each Speaker, then move on to the next Speaker until all Speakers have been completed.

What's the best way to go about achieving this? 

Do I need to create an array of all the created Speakers, then step through it somehow? Or set a flag on each created Speaker, so that once the user has clicked 'save talks' it finds the next speaker (in this event) that hasn't been saved?

Answer: 
`fprintf('\n')` should do the trick, likewise `disp(' ')`. In general, `fprintf` is more flexible than `disp`. The main advantage of `disp` is that it has some intelligence and knows how to print out complete objects.
As an update, since Matlab 2016b, there is another way to do it:

```
disp([ 'first line' newline 'second line' ])

```

It is the recommended way. Source: <https://en.wikibooks.org/wiki/MATLAB_Programming/Inserting_Newlines_into_Disp_Warn_and_Error>