Cells in MatLab R2013a?

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

1 comentario

Azzi Abdelmalek
Azzi Abdelmalek el 31 de En. de 2014
Max if you want to add a comment, just click on comment on this answer

Iniciar sesión para comentar.

Respuestas (3)

Azzi Abdelmalek
Azzi Abdelmalek el 31 de En. de 2014

0 votos

doc cell

2 comentarios

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

Iniciar sesión para comentar.

Sean de Wolski
Sean de Wolski el 31 de En. de 2014
Editada: Sean de Wolski el 31 de En. de 2014

0 votos

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 comentarios

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

Iniciar sesión para comentar.

Mischa Kim
Mischa Kim el 31 de En. de 2014

0 votos

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

Categorías

Más información sobre Entering Commands en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

Max
el 31 de En. de 2014

Comentada:

el 3 de Feb. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by