Cells in MatLab R2013a?

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

1 Kommentar

Azzi Abdelmalek
Azzi Abdelmalek am 31 Jan. 2014
Max if you want to add a comment, just click on comment on this answer

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Azzi Abdelmalek
Azzi Abdelmalek am 31 Jan. 2014

0 Stimmen

doc cell

2 Kommentare

Azzi Abdelmalek
Azzi Abdelmalek am 31 Jan. 2014
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?
Azzi Abdelmalek
Azzi Abdelmalek am 31 Jan. 2014
select your text then right click with your mouse, you will find what you want

Melden Sie sich an, um zu kommentieren.

Sean de Wolski
Sean de Wolski am 31 Jan. 2014
Bearbeitet: Sean de Wolski am 31 Jan. 2014

0 Stimmen

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 Kommentare

Azzi Abdelmalek
Azzi Abdelmalek am 31 Jan. 2014
Max commented
Alright, so sections is the same as cells. How do I select "evaluate current cell"?
Sean de Wolski
Sean de Wolski am 31 Jan. 2014
It's the "Run Section" button on the right end of the editor tab:
Max
Max am 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?
Azzi Abdelmalek
Azzi Abdelmalek am 31 Jan. 2014
select your text then click f9
Image Analyst
Image Analyst am 31 Jan. 2014
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 am 1 Feb. 2014
Bearbeitet: Azzi Abdelmalek am 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.
Sean de Wolski
Sean de Wolski am 3 Feb. 2014
Put the cursor near a number, right click and select "Increment Value and Run Section" - the first option in the menu.

Melden Sie sich an, um zu kommentieren.

Mischa Kim
Mischa Kim am 31 Jan. 2014

0 Stimmen

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

Kategorien

Mehr zu Entering Commands finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

Max
am 31 Jan. 2014

Kommentiert:

am 3 Feb. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by