octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37330] desktop() function


From: Guillaume
Subject: [Octave-bug-tracker] [bug #37330] desktop() function
Date: Tue, 11 Sep 2012 18:11:56 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0

Follow-up Comment #2, bug #37330 (project octave):

I couldn't find it on the MathWorks' website as well; that's why I copied the
help text.
There is no mention of this function being deprecated though. It is the
matlab/general folder and is mentioned in the Contents.m there:

% Controlling the command window.
%   echo          - Display statements during function execution.
%   more          - Control paged output in command window.
%   diary         - Save text of MATLAB session.
%   format        - Set output format.
%   beep          - Produce beep sound.
%   desktop       - Start and query the MATLAB Desktop.
%   preferences   - Bring up MATLAB user settable preferences dialog.


An example of use is the following:

if desktop('-inuse')
  fprintf('<a href="matlab:doSomethingOnClick">message</a>n');
else
  fprintf('messagen');
end


When not using the desktop, you don't want the HTML code being displayed in
your console.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37330>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]