Variable assignment in command window

Hi,
All variable assignment (ex: a=12) from my File.m appears in my command window, especially about matrices assignments. It cause an use of CPU that i don´t want.
Please tell me how can I disable the trace in command window for all variable assignments.
Thanks Eric Zanghi

1 Comment

The fundamental basics of MATLAB are explained in the "Getting Started" chapters of the documentation. Reading them is recommended for beginners.

Sign in to comment.

Answers (1)

use a semicolon to suppress output
a=12;

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Asked:

on 13 Aug 2011

Community Treasure Hunt

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

Start Hunting!