FW: Case ID: 921953 OSX

Here is the reply from the Math Works about the questions I raised earlier. I
haven't had a chance to check things out. I'll be interested in other people's
experiences.

Geoff Loftus

Geoffrey R. Loftus, PhD Office: (206) 543-8874
Department of Psychology Home: (206) 547-6969
Guthrie Hall, Room 134 Mobile: (206) 605-1974
University of Washington Fax: (206) 685-3157
Box 351525 Web: http://faculty.washington.edu/gloftus
Seattle, WA 98195-1525


----------
From: Mike Librodo <mlibrodo@...>
To: "gloftus@..." <gloftus@...>
Subject: Re: Case ID: 921953 OSX
Date: Tue, Aug 20, 2002, 3:42 PM



This is in response to Case ID: 921953

Dear Geoffrey-

This is a follow-up on your case in which you wrote the following:

==========================
Hi: I've just installed (after 5 hours of work and with the heroic help of
Jaime
Ferrone) matlab for OSX on an emac. I have the following questions.

1. You can't seem to open existing files by double-clicking them. Instead you
have to open using the "Open" command from the file menu. Is there any easier
way to open files?

2. You can't seem to see more than one window open at a time; instead there are
tabs that allow you to see one window or another. Is there some way of getting
around this?

3. Even though I did set path for my entire toolbox (with many previous files
from earlier matlab versions), and "path" shows all my folders, none of my
files
seem to be recognized (e.g., "help foo" produces, "foo.m not found"). Any
suggestions?
==========================
For your first question, I am not quite sure what you are trying to
do. You should be able to open text files (i.e. *.m) by double clicking on
the file from the current directory window on the MATLAB Desktop.
Double-clicking on the file will open the file with the MATLAB Editor. If
your file is a data file, double clicking on the file will bring up the
import wizard.

With regards to your second question, I am assuming that you are referring
to the MATLAB Editor. Unfortunately, the editor does not allow you to tile
files vertically or horizontally since version R12.o of MATLAB. This
feature was removed with that release. There is currently an enhancement
request to re-introduce this feature in a future release of
MATLAB. Unfortunately, we do not have a time frame as to when this feature
will be available.

If you are speaking of the MATLAB Desktop. There is a way to tile the
windows(i.e. Command window, launch pad, current directory, workspace) of
the desktop. However this is limited. For more information on how to
customize the desktop please refer to the following site:

http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/desktop.shtml

As for the third question, before beginning to troubleshoot path issues, it
is important to understand how MATLAB's path system works. Please take a
look at the following site for information on MATLAB's search path:

http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/ws_pat14.shtml

In particular, remember that files under the $MATLAB/toolbox directory
(where $MATLAB is your root MATLAB directory) are cached. For more
information, please see the following URL:

http://www.mathworks.com/support/solutions/data/2204.shtml

You may also need to rehash your toolbox cache using the REHASH
command. Be aware that toolbox path caching is turned ON by default as of
MATLAB 6.0 (R12), but is OFF by default in earlier versions. You can turn
this feature on and off through the preferences dialog window. When the
caching is ON, MATLAB can start more quickly. For more information on
rehashing your toolbox cache, please see the following URL:

http://www.mathworks.com/support/solutions/data/27163.shtml

Also, please note that we don't support running your files from a removable
media source such as a floppy disk or zip drive. While these are fine for
transporting your work, you will see much smoother operation when your
files live on a local hard drive on your computer.

You can run programs from network drives, but keep in mind that recognizing
file changes may become more difficult over a network. Type 'doc
change_notification' and 'doc change_notification_advanced' to learn more
details about how MATLAB recognizes changes across your network. (If you
have not installed the documentation, please type 'help
change_notification' and "help change_notification_advanced' instead of
'doc change_notification' and 'doc change_notification_advanced'). For
additional information, please see the following URL:

http://www.mathworks.com/support/solutions/data/22785.shtml

Before proceeding, we are assuming that you:
* are familiar with the information above * have your files in a
directory without spaces in its name * have your files located outside the
$MATLAB/toolbox directory structure
* have your files on a non-removable media type
* do not have your files in a root directory on your filesystem (ie, not
in c:\ or /)


Case 1: You have the word "bin" in the name of the directory in question,
and are running MATLAB 5.2.1 or earlier.

You should move your files to a folder that doesn't have this word in the
path. Please see the following URL for more information:
http://www.mathworks.com/support/solutions/data/9491.shtml

Case 2: You should double check the path information

Try removing the directory in which your files are located from the path
and then adding them on once again. If you're using the PATHTOOL, make
sure that you select to have your changes applied to the current MATLAB
session (as well as saved for future sessions if necessary - to save
changes you will also need permissions to modify your pathdef file). This
process of removing and then adding the directory can address problems
where the directory wasn't properly added to the path.

Case 3: You have installed a new toolbox

Take a look at the following solution, which addresses problems with new
toolboxes not being added to the MATLAB path:

http://www.mathworks.com/support/solutions/data/24236.shtml

Case 4: You have the directory on your path, which shows the function is
there, but you still cannot use the toolbox function

Check the license.dat file (both for PCs and UNIX and MAC), make sure the
toolbox is listed there and that there are no errors in the INCREMENT line.

Case 5: One of the M-files in your directory is corrupt

Please move all your files into a temporary directory and then move the
files back one-by-one. After you move each m-file, run it to make sure
that it works. If the m-file does not run, then the file has been corrupted.


Sincerely,
Michael Librodo

===========================================================
The MathWorks, Inc.
email: support@...
WWW: http://www.mathworks.com
Phone: (508)647-7000
Fax: (508)647-7201
===========================================================