Cells in MatLab R2013a?

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

1 commentaire

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

Connectez-vous pour commenter.

Réponses (3)

Azzi Abdelmalek
Azzi Abdelmalek le 31 Jan 2014

0 votes

doc cell

2 commentaires

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

Connectez-vous pour commenter.

Sean de Wolski
Sean de Wolski le 31 Jan 2014
Modifié(e) : Sean de Wolski le 31 Jan 2014

0 votes

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 commentaires

Azzi Abdelmalek
Azzi Abdelmalek le 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 le 31 Jan 2014
It's the "Run Section" button on the right end of the editor tab:
Max
Max le 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 le 31 Jan 2014
select your text then click f9
Image Analyst
Image Analyst le 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 le 1 Fév 2014
Modifié(e) : Azzi Abdelmalek le 1 Fév 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 le 3 Fév 2014
Put the cursor near a number, right click and select "Increment Value and Run Section" - the first option in the menu.

Connectez-vous pour commenter.

Mischa Kim
Mischa Kim le 31 Jan 2014

0 votes

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

Catégories

En savoir plus sur Entering Commands dans Centre d'aide et File Exchange

Tags

Question posée :

Max
le 31 Jan 2014

Commenté :

le 3 Fév 2014

Community Treasure Hunt

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

Start Hunting!

Translated by