Ctrl+Enter running the entire program

When I try to run a particular cell of my progeam using the shortcut Ctrl+Enter, it is running the entire program. How do I solve this issue?

답변 (1개)

KSSV
KSSV 2019년 6월 10일

0 개 추천

YOu should use %% this at the start and at the end to run a section.

댓글 수: 1

Paul de Jong
Paul de Jong 2021년 9월 4일
I like to make an outline of my code, so there are incomplete variables in the sections I have not gotten to yet. The issue happens when I just want to run the top of my code but there is an error below that block. I've resorted to using %{ and %}.
It would be great if the %% section mechanism worked so I could test sections as I finish them. Is it a setting?
Thanks!

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 R Language에 대해 자세히 알아보기

질문:

2019년 6월 10일

댓글:

2021년 9월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by