Problem with functions in matlab



Hi,

I have a function in which I change the value of a variable (called
X)
each time I run this function value of x changes but in my work space
(main window of matlab) if I type x it writes the old value of x, not
the value of x that is set inside the function.

I do not want x to be one of the outputs of my function.
Is there a way that I can solve this problem ?

Thank you,
.



Relevant Pages

  • Contrast, brightness, and gamma correction controls.
    ... correction controls to a MATLAB figure window? ... Kevin Crosby ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • Problem Automatically destroyed!
    ... It is really a weird problem that every time I execute the Matlab ... the main window shows up and suddenly destroyed ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • solving differential equations
    ... I want to solve the following equations in matlab: ... function dxdt = motor ... and in the main window I type: ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • What is the function?
    ... There is a function on Matlab that you define some window with size m ... command previous defined). ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • Re: How does Spaces work?
    ... work space, I'd want a couple of web browsers showing boring work stuff, ... Does the window pop up onto the work space, ... will it automatically switch to the play space? ... the fixed space and then opens the window. ...
    (uk.comp.sys.mac)