Cells in MatLab R2013a?

How do I find the cell menu and operations in MatLab R2013a?

1 Comment

Max if you want to add a comment, just click on comment on this answer

Sign in to comment.

Answers (3)

doc cell

2 Comments

Max commented
Maybe I was unclear in my question. I want to make cell breaks within a function.
I.e. exactly what is done in this video 1:23 min into the video.
How do I do that single operation?
select your text then right click with your mouse, you will find what you want

Sign in to comment.

Sean de Wolski
Sean de Wolski on 31 Jan 2014
Edited: Sean de Wolski on 31 Jan 2014
Add two % signs followed by a space
%%Hello Section (formerly known as cell)
The rest of the cell (now called sections) menu stuff is under the "Publish Tab" in the editor.

7 Comments

Max commented
Alright, so sections is the same as cells. How do I select "evaluate current cell"?
It's the "Run Section" button on the right end of the editor tab:
Max
Max on 31 Jan 2014
When I click "Run" the whole function runs, not just the current cell. How do I evaluate just the current cell, not the rest of the function?
select your text then click f9
Good change - it was probably a bad, ambiguous, and confusing choice to ever call sections "cells" in the first place. It's bad enough that Excel and MATLAB both use the term cell for different things.
But anyway, if you're in a section, you can click Run and Advance to move execution to the start of the next section.
Max
Max on 1 Feb 2014
Edited: Azzi Abdelmalek on 1 Feb 2014
Your answers are appreciated. I just have one more question about this. How do you find and use the menu and operations that are used here? 1:36 minutes into the video.
Put the cursor near a number, right click and select "Increment Value and Run Section" - the first option in the menu.

Sign in to comment.

Mischa Kim
Mischa Kim on 31 Jan 2014

0 votes

Max, in the EDIT section in the main toolstrip in MATLAB hit [Insert], and there you go.

Categories

Tags

Asked:

Max
on 31 Jan 2014

Commented:

on 3 Feb 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!