MATLAB Late-Breaking News | Help Desk |
doc
command.
Currently the Help Desk should be used with Netscape Navigator Release 3.0 or Microsoft Internet Explorer 3.0 (the Help Desk does not work as well with earlier releases of those products).
When invoked from Microsoft Internet Explorer, the index search facility generates HTML output that takes the place of the Help Desk page in the browser's page hierarchy. Consequently, the Back button or hyperlinks to the Help Desk will not work as expected. To return to the Help Desk from the index search page, use the Refresh button. Also, the search may not work correctly when invoked the first time over a slow network; subsequent searches will work correctly.
Note the JIT compiler must be disabled to run the index search applet under Internet Explorer. To turn off JIT, click the View menu and then click Options. Select the Advanced tab, and then deselect the checkbox labeled Enable Java JIT Compiler.
On the 68K Macintosh, the index search facility requires Netscape 3.0. In addition, the index search facility is extremely slow on the 68K doc
to access this document online.
doc
to access this document online.
Platform-Specific Issues
Before you can print from a Microsoft or Novell NetWare network environment under Windows 95 or NT, you must map the LPT1 port to the printer you want to use. To map LPT1 on Microsoft networks, issue this command at the system's command prompt:net use LPT1: \\server\printerwhere
server
is the name of the server sharing the printer and printer
is the name of the printer.
On Novell NetWare networks, use this command:
capture l=1 q=printerwhere
printer
is the name of the print queue.
If you are using a Microsoft network, you can map LPT1, or you can edit the printopt
function to change the definition of pcmd
to:
COPY /B %s \\server\printer:where
server
is the name of the server sharing the printer and printer
is the name of the printer.
Problems Printing Using Z-Buffer
MS-Windows Characteristics That May Change
This section lists some specific characteristics of MATLAB for MS- Windows that are likely to change in future releases.drawnow 'discard'
is not working.
print
command redraws the figure each time it is called.
pathdef.m
instead of in matlabrc.m
.
README
file for additional information concerning MATLAB for Macintosh.
Using license.dat for UNIX Installations
To expedite the installation of the software, we have included thelicense.dat
file needed to install the software on the CD-ROM.
Copy this file from the CD-ROM into the file $MATLAB/etc/license.dat
before proceeding with your installation.
Tar: blocksize = 16You may safely ignore this message.
A fatal error occurred while running 'xsetup' the X Window System version of 'install'. The following error was returned by this program:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 42 (X_SetInputFocus)
Serial number of failed request: 12029
Current serial number in output stream: 12030
Printing with Ghostscript Drivers
Theprint
command does not currently work using Ghostscript drivers on the HP700, DEC Alpha, and IBM RS6000 platforms.
API Characteristics That May Change in Future Releases
This section lists some specific characteristics of the MATLAB 5 API (Application Program Interface) that are likely to change in future releases.mexAtExit
routines. This was not true of MATLAB 4. You can override this behavior by calling the new MEX API routine, mexLock()
. This allows you to lock the MEX-file in memory. MEX-files that are locked should be on the MATLAB path. If, after changing directories, a locked MEX-file is no longer on the MATLAB path, it will not be unloaded but can no longer be executed.
mexIsLocked
currently always returns the value 1.
Notes for MATLAB 5 Beta Users
Read this section only if you have worked with Alpha or Beta versions of MATLAB 5, and are now working with the FCS (First Customer Ship) version of MATLAB 5. This section describes features and characteristics of MATLAB 5 that were introduced during the MATLAB 5 Alpha/Beta program that have changed either during the MATLAB 5 Alpha/Beta program or in the MATLAB 5 FCS version. The material presented in this Late-Breaking News describes some aspects of the MATLAB 5 language not currently mentioned elsewhere in the documentation. The MATLAB 5 features are discussed in the MATLAB 5 New Features Guide. If you have previously used MATLAB 4, you will be particularly interested in the section "Upgrading to Version 5.0."argname Function Changed to inputname
Theargname
function has been renamed to the inputname
function.
bittest Function Renamed bitget
Thebittest
function has been renamed bitget
.
The function bug
, which during the MATLAB Alpha/Beta program enabled you to create a bug report, has been removed for FCS. Use the Help Desk, as described in the section "Help Desk", above.
The function extract
, which extracted cell array contents, has been removed. Use direct cell array indexing with the { }
notation to access the contents of an array.
fields.m File Renamed fieldnames.m
The M-filefields.m
has been renamed fieldnames.m
.
The numeric
function has been removed. Use double
to convert a character into its numeric codes.
rightjust Function Renamed to strjust
The functionrightjust
, which right-justifies a character array, has been renamed strjust
.
structs Function Combined into struct
The functionstructs
, which creates structures, has been combined into struct
.
The Axes Stretch
property has been removed. MATLAB now disables the stretch-to-fill behavior whenever the Axes DataAspectRatioMode
, PlotBoxAspectRatioMode
, or CamerViewAngleMode
is set to manual. Note that specifying a value for the DataAspectRatio
, PlotBoxAspectRatio
, or CamerViewAngle
sets the associated mode to manual.
Axes ViewPortScale and ViewPortScaleMode Properties Removed
The functionality that was embodied in theViewPortScale
property is now achievable using the CameraViewAngle
property. Note that setting ViewPortScale
to 1
is equivalent to using the new zoom
fill
option.
ChangeFcn and CurrentProperty Properties Removed
TheChangeFcn
and CurrentProperty
properties have been removed.
bar and barh Functions Changed
Thebar
and barh
functions no longer support the two output argument forms that they did during the MATLAB 5 Alpha/Beta program:
[xb,yb] = bar [xb,yb] = barh
colordef Function Replaces Several Functions
Thecolordef
function replaces the kdefault
, wdefault
, default4
, and cleardef
functions.
ExecutionQueue Property Removed
TheExecutionQueue
property has been removed. The BusyAction
property provides similar functionality.
See the axes
function in the online MATLAB Graphics Reference for more information about each property.
HandleVisibility Property Replaces HiddenHandle Property
The HandleVisibility
property replaces the HiddenHandle
property.
HiddenVisibility
is a property of all objects. It controls the scope of handle visibility within three different ranges. Property values can be:
on
-- The object's handle is available to any function executed on the MATLAB command line or from an M-file. This is the default setting.
callback
-- The object's handle is hidden from all functions executing on the command line, even if it is on the top of the screen stacking order. However, during callback routine execution (MATLAB statements or functions that execute in response to user action), the handle is visible to all functions, such as gca
, gcf
, gco
, findobj
, and newplot
. This setting enables callback routines to take advantage of MATLAB's handle access functions, while ensuring that users typing at the command line do not inadvertently disturb a protected object.
off
-- The object's handle is hidden from all functions executing on the command line and in callback routines. This setting is useful when you want to protect objects from possibly damaging user commands.
For example, if a GUI accepts user input in the form of text strings, which are then evaluated (using the eval
function) from within the callback routine, a string such as 'close all'
could destroy the GUI. To protect against this situation, you can temporarily set HandleVisibility
to off
:
user_input = get(editbox_handle,'String'); set(gui_handles,'HandleVisibility','off') eval(user_input) set(gui_handles,'HandleVisibility','commandline')
-psdefcset Option for print Function Renamed -adobecset
The-psdefcset
option to the print
command has been renamed to -adobecset
. This option specifies that MATLAB should use Adobe's default character set encoding for PostScript, rather than ISO Latin-1 character set encoding.
The ZBuffer
Figure property has been removed. Statements that instruct you to set the ZBuffer
property should be replaced with statements that set the Figure Renderer
property. For example, replace:
set(gcf,'ZBuffer','on')with
set(gcf,'Renderer','zbuffer')
Application Program Interface Feature Changes
mexSearchMATLABPath Function Removed
The functionmexSearchMATLABPath
has been removed from the MEX interface. Replace mexSearchMATLABPath()
with a call to the MATLAB which
function using mexCallMATLAB()
.
mxCreatDoubleMatrixFromData Function Removed
The functionmxCreateDoubleMatrixFromData
has been removed from the MEX interface. Replace mxCreateDoubleMatrixFromData
with a call to mxCreateDoubleMatrix
, followed by copying the data into the array.
mxReshape and mxGetSize MEX-functions Renamed
The following MEX functions that were introduced in the MATLAB 5 Alpha/Beta program have been renamed:mxReshape
is now mxSetDimensions.
mxGetSize
is now mxGetDimensions.
mxIsGlobal
is now called mexIsGlobal
. Rewrite and recompile MEX-files that call mxIsGlobal
.
pathdef.m
instead of in matlabrc.m
.