![]() |
Need help for Matlab for Mac OS X
Hello mac friends,
I have installed this application, successfully ??? I dont no ;-(, but I hope so? When I klick on LaunchMATLAB in the folder mathlab6p5, in the dock two symbols bounces First : Orobor OSX Second: Launch MathLab Orobor OSX then is finish and the Launch MathLab also bounces for a longer time. And then it comes nothing, I think the application matlab shuld start. I think I make a mistake but what mistake. Please help me, it is a demo version Jochen (GER) |
The first thing you should do is check that you can run other XWindow programs. I think OroborusX has a menu that has some example programs in it. Do you have an XTerm window (usually starts up with OroborusX)?
If other XWindows programs run okay, then try MATLAB again. There probably is a file somewhere that it writes error messages to. Check the documentation to find out where this file is. But also check for error messages in the file /var/log/system.log - an easy way to look at this file is to run the Console utility. |
@hayne
Thank for support, but you must do it very slowly, steb by step I'm not an expert in "other XWindow programs" and also console!!!!!!!! Now, I see in OroborOSX following when I open the second menue. xterm xeyes xedit xclock xcalc xbiff NEdit MacGimp ETerm Jochen |
So, have you tried any of those programs from the OroborOSX menu? Just pick one - say xclock.
And Console is an application - in the /Applications/Utilities folder. It takes no special knowledge to run it. Start it up and it will show you the contents of the system.log. Leave it running while you do other things and you will see error messages there as soon as they are sent. |
Quote:
|
Hello mac friends
I have done following now like the explanations in the Installing and Using MatLab on Mac OS X. There are following steps write down: # To install this script, perform the following actions as an Administrator: # # 1. Navigate via the Finder to the top level /Library folder. I have done # 2. Create a folder within /Library called StartupItems, if it does not already exist. There was an folder # 3. Copy the $MATLAB/etc/MATLABLmgr folder into the StartupItems folder. I have done # 4. Open /Library/StartupItems/MATLABLmgr/MATLABLmgr with a text editor. I have done # 5. Change |>MATLAB<| to be the location where MATLAB is installed (as a POSIX file # specifier, such as /Applications/MATLAB6p5). I have done: Ther is: MATLAB=|>Application/MATLAB6p5<| # 6. Change |>ME<| to be the user name under which the license manager daemon will be # started (for security reasons, this must not be root). I have done: There is: ME=|>myname<| # 7. Save MATLABLmgr back to disk. If your text editor gives you the option to choose # line ending styles (Macintosh versus UNIX), be sure to choose UNIX line endings. I have done, I have used TextEdit, there are no alternatives # 8. Reboot. I have done But after reboot The same procedure First OroborOSX LaunchMATLAB and no more Maybe I am stupid Jochen (GER) ???????? |
Now I have carry out in OroborOSX
xclock And I can see a clock in my finder in the right corner near the dock. The time is correct. And what should I do next??? I see a mistake in my first work. Now there are following in .... MATLAB=|>/Applications/MATLAB6p5<| First it was: MATLAB=|>Application/MATLAB6p5< You see the different???? "/" "s" Jochen |
hi all-
check out this page for instructions on how to install MATLAB under OS X for use with X11 (not orbos-blar-blar) |
Thanks and sorry ;-(
safari can not open this site after 60 seconds The link is: http://www.ece.rice.edu/~ngrady/install_matlab_osx.html Is that right????? with ...edu/~ngrady/... Jochen |
yeah, the link works for me just fine ... unless it's stored in my cache! :) i'll check
|
yep, it still works
it's linked off this main page: http://www.ece.rice.edu/~ngrady/ [EDIT: and i'm using safari] |
Works ok for me too.
|
with my mac I can not open the site:
http://www.ece.rice.edu/~ngrady/install_matlab_osx.html Not with: safari, camino, IE, mozilla, !!!!!!!!! ???????? Sorry ;-( Jochen |
Quote:
it means to erase all 8 of the characters |>MATLAB<| and replace them with the full path (starting with a slash) to the folder where you installed it. So you want to end up with: MATLAB=/Applications/MATLAB6p5 Note the added slash at the beginning, the added 's' at the end of "Application", and the removal of "|>" and "<|". I see that from your later posting that you have already noticed that you needed to add the slash and the 's'. Also check that the folder /Applications/MATLAB6p5 is in fact where you have installed MATLAB. And of course you need to make a similar change (removing the "|>" and "<|" from the other variables) |
Thanks for help.
I have change your proposals. Now in my startup folder is following Library / Startupitems / MATLABmgr / MATLABmgr / This is at the end of file ====================== ### start FLEXlm ### ConsoleMessage "Starting MATLAB License Manager" MATLAB=/Applications/MATLAB6p5 ME=myname if [ -f $MATLAB/etc/lmboot ]; then $MATLAB/etc/lmboot -u $ME fi ===================== I searched in finder to matlab and found only one application In applications / Matlab6p5 there are following folder and files bin demos etc extern help install_matlab install_matlab1.out java license.txt OroborOSX-folder sys toolbox update X11 I found no application like >matlab< only the application >LaunchMATLAB< in the folder bin ???? Is that right?????? Jochen |
I don't think you realize that I have zero knowledge about MATLAB. So I don't know what is right. I am only advising you on what you reported it said in the instructions.
Have you tried running it ? |
don#t worry be happy
I have installed the application like the guide from mathworks. And at the end is write down: Starting MATLAB Double-click LaunchMATLAB to start MATLAB I have done!!!! The LaunchMATLAB application performs these steps 1) Starts X Windows I my case this is OroborOSX!!! 2) Runs MATLAB Nothing or im stupid??????? In the dock only two applications LaunchMATLAB, not activated (no black triangel) OroborOSX, activated (black triangel) Jochen |
You haven't made it clear whether you have restarted your Mac after having edited the file /Library/StartupItems/MATLABLmgr/MATLABLmgr
You need to do that before you can run MATLAB. But first, let's check on what you have done. Open up a Terminal window (Terminal is under /Applications/Utilities) and type the following command (and press Return): ls -l /Library/StartupItems/MATLABLmgr Copy and paste the response you get from that command back here (to this forum). If your startup script (that you edited) is working, you should be seeing the message "Starting MATLAB License Manager" as one of the messages that go by when you restart the Mac. |
I have reboot the system after edit !!
In terminal I have done this [Hans-Joachim-Klotzs-Computer:~] hansjoachimklotz% ls -l /Library/StartupItems/MATLABLmgr total 16 -rwxr-xr-x 1 hansjoac admin 1194 Oct 5 08:50 MATLABLmgr -rw-r--r-- 1 hansjoac admin 263 Jun 18 2002 StartupParameters.plist [Hans-Joachim-Klotzs-Computer:~] hansjoachimklotz% This Info is also write down in the guide of mathworks If your startup script (that you edited) is working, you should be seeing the message "Starting MATLAB License Manager" as one of the messages that go by when you restart the Mac. But I dont see this info by restart of my mac Jochen |
Okay, you need to find out why the startup script (/Library/StartupItems/MATLABLmgr/MATLABLmgr) isn't working. This is the file you were editing before.
Edit it again and insert a lot of extra statements like: ConsoleMessage "Hello Hans - A" Insert a statement like that at the very beginning of the script and then another in between each of the existing statements of the script. Keep the first one with "A" but change each of the others to give a unique message - e.g. change to "B", "C", "D", etc. Save the script, then reboot your Mac and watch carefully for the messages. Note which messages you see. Show us (copy & paste) the part of the script from the beginning down to a few lines after the last of those messages that you see. E.g. if you see the "A", "B" & "C" message, show us the script down to a few lines after the "C" message. If you don't see any of the messages, show us the first 20 or 30 lines of the script. |
I must think about your answer, my english is not so good.
When I open with TextEdit the file (/Library/StartupItems/MATLABLmgr/MATLABLmgr) I see following text when I copy and paste =========================== #!/bin/sh # # To install this script, perform the following actions as an Administrator: # # 1. Navigate via the Finder to the top level /Library folder. # 2. Create a folder within /Library called StartupItems, if it does not already exist. # 3. Copy the $MATLAB/etc/MATLABLmgr folder into the StartupItems folder. # 4. Open /Library/StartupItems/MATLABLmgr/MATLABLmgr with a text editor. # 5. Change |>MATLAB<| to be the location where MATLAB is installed (as a POSIX file # specifier, such as /Applications/MATLAB6p5). # 6. Change |>ME<| to be the user name under which the license manager daemon will be # started (for security reasons, this must not be root). # 7. Save MATLABLmgr back to disk. If your text editor gives you the option to choose # line ending styles (Macintosh versus UNIX), be sure to choose UNIX line endings. # 8. Reboot. # # During bootup, you should see the message "Starting MATLAB License Manager" appear # on the screen. # # $Revision: 1.2 $ . /etc/rc.common ### start FLEXlm ### ConsoleMessage "Starting MATLAB License Manager" MATLAB=/Applications/MATLAB6p5 ME=hansjoachimklotz if [ -f $MATLAB/etc/lmboot ]; then $MATLAB/etc/lmboot -u $ME fi ========================= You see the first sentences ar infos about changing license manager At the end there is the script I think so but I'm not shure ??? And your proposal is that I should change ConsoleMessage "Starting MATLAB License Manager" into ConsoleMessage "Hello Hans - A" Jochen |
Question ?????
Must I change also: ========================= MATLAB=/Applications/MATLAB6p5 ME=hansjoachimklotz if [ -f $MATLAB/etc/lmboot ]; then $MATLAB/etc/lmboot -u $ME fi ========== into ========================= MATLAB=/Applications/MATLAB6p5 ME=hansjoachimklotz if [ -f $/Applications/MATLAB6p5/etc/lmboot ]; then $/Applications/MATLAB6p5/etc/lmboot -u $hansjoachimklotz fi ========== What is with the character "$" in the script??? Jochen |
I was suggesting to add extra lines - not change any of the existing lines.
But now I see that the script is very short and that the existing ConsoleMessage is right near the top. So you should be seeing it if the script is executing at all. So forget about doing what I had suggested before. First, run the Console application (it is under /Applications/Utilities) and look in the list of messages presented in its window to make sure that you haven't just missed seeing the "Starting MATLAB License Manager" message. Second, let's check that the script has the correct line-endings. Copy & paste the following command into a Terminal window and then copy the results back here so we can see them. hexdump -c /Library/StartupItems/MATLABLmgr/MATLABLmgr [edit]I'm going to sleep now so won't be responding on this thread for a while[/edit] |
Have a good night.
I have reboot the mac, open the console direkt after reboot. Following messages there: Mac OS X Version 10.2.6 (Build 6L60) 2003-10-05 12:03:23.341 pbs[861] CFLog (0): CFPropertyListCreateFromXMLData(): plist parse failed; the data is not proper UTF-8. The file name for this data could be: Contents/Info.plist -- file://localhost/Applications/NichtAppleProgramme/Adobe%20Photoshop%20Elements%202/Photoshop%20Elements%202.0/ The parser will retry as in 10.1, but the problem should be corrected in the plist. Jochen |
Who I have done it in terminal
Her the answer, first I made a mistake with: ...MATLABmgr/MATLABmgr later I use: ...MATLABLmgr/MATLABLmgr =================== Last login: Sun Oct 5 12:02:56 on console Welcome to Darwin! [Hans-Joachim-Klotzs-Computer:~] hansjoachimklotz% hexdump -c /Library/StartupItems/MATLABmgr/MATLABmgr hexdump: /Library/StartupItems/MATLABmgr/MATLABmgr: No such file or directory [Hans-Joachim-Klotzs-Computer:~] hansjoachimklotz% hexdump -c /Library/StartupItems/MATLABLmgr/MATLABLmgr 0000000 # ! / b i n / s h \n \n # \n # T 0000010 o i n s t a l l t h i s s 0000020 c r i p t , p e r f o r m t 0000030 h e f o l l o w i n g a c t 0000040 i o n s a s a n A d m i n 0000050 i s t r a t o r : \n # \n # 1 . 0000060 N a v i g a t e v i a t h 0000070 e F i n d e r t o t h e 0000080 t o p l e v e l / L i b r a 0000090 r y f o l d e r . \n # 2 . 00000a0 C r e a t e a f o l d e r 00000b0 w i t h i n / L i b r a r y 00000c0 c a l l e d S t a r t u p I t 00000d0 e m s , i f i t d o e s 00000e0 n o t a l r e a d y e x i s 00000f0 t . \n # 3 . C o p y t h e 0000100 $ M A T L A B / e t c / M A T 0000110 L A B L m g r f o l d e r i 0000120 n t o t h e S t a r t u p I 0000130 t e m s f o l d e r . \n # 4 0000140 . O p e n / L i b r a r y / 0000150 S t a r t u p I t e m s / M A T 0000160 L A B L m g r / M A T L A B L m 0000170 g r w i t h a t e x t e 0000180 d i t o r . \n # 5 . C h a n 0000190 g e | > M A T L A B < | t o 00001a0 b e t h e l o c a t i o n 00001b0 w h e r e M A T L A B i s 00001c0 i n s t a l l e d ( a s a 00001d0 P O S I X f i l e \n # 00001e0 s p e c i f i e r , s u c h 00001f0 a s / A p p l i c a t i o n 0000200 s / M A T L A B 6 p 5 ) . \n # 0000210 6 . C h a n g e | > M E < | 0000220 t o b e t h e u s e r 0000230 n a m e u n d e r w h i c h 0000240 t h e l i c e n s e m a n 0000250 a g e r d a e m o n w i l l 0000260 b e \n # s t a r t e 0000270 d ( f o r s e c u r i t y 0000280 r e a s o n s , t h i s m u 0000290 s t n o t b e r o o t ) . 00002a0 \n # 7 . S a v e M A T L A 00002b0 B L m g r b a c k t o d i 00002c0 s k . I f y o u r t e x t 00002d0 e d i t o r g i v e s y o 00002e0 u t h e o p t i o n t o 00002f0 c h o o s e \n # l i n e 0000300 e n d i n g s t y l e s ( 0000310 M a c i n t o s h v e r s u s 0000320 U N I X ) , b e s u r e 0000330 t o c h o o s e U N I X l 0000340 i n e e n d i n g s . \n # 8 0000350 . R e b o o t . \n \n # \n # D 0000360 u r i n g b o o t u p , y o 0000370 u s h o u l d s e e t h e 0000380 m e s s a g e " S t a r t i 0000390 n g M A T L A B L i c e n s 00003a0 e M a n a g e r " a p p e a 00003b0 r \n # o n t h e s c r e e 00003c0 n . \n # \n \n # $ R e v i s i o 00003d0 n : 1 . 2 $ \n \n . / e t c 00003e0 / r c . c o m m o n \n \n # # # 00003f0 s t a r t F L E X l m # # # 0000400 \n \n C o n s o l e M e s s a g e 0000410 " S t a r t i n g M A T L A 0000420 B L i c e n s e M a n a g e 0000430 r " \n \n M A T L A B = / A p p l 0000440 i c a t i o n s / M A T L A B 6 0000450 p 5 \n M E = h a n s j o a c h i 0000460 m k l o t z \n \n i f [ - f 0000470 $ M A T L A B / e t c / l m b o 0000480 o t ] ; t h e n \n $ M 0000490 A T L A B / e t c / l m b o o t 00004a0 - u $ M E \n f i 00004aa [Hans-Joachim-Klotzs-Computer:~] hansjoachimklotz% Jochen |
The latest news
Maybe there was a mistake in the file MATLABLmgr Now there is following text (copy and paste) ================== . /etc/rc.common ### start FLEXlm ### ConsoleMessage "Starting MATLAB License Manager" MATLAB=/Applications/MATLAB6p5 ME=hansjoachimklotz if [ -f /Applications/MATLAB6p5/etc/lmboot ]; then /Applications/MATLAB6p5/etc/lmboot -u hansjoachimklotz fi ================== After restart the mac I can see a very short message like "Waiting MATLAB License Manager" ?? then comes the OSX window to LOGIN But MATLAB don't run Jochen |
launch_matlab.sh
[submitted twice, so deleting the first one]
|
launch_matlab.sh
this should solve any OroborOSX problems. if you experience licensing problems, then you need to obtain a license and likely put in the install folder (in my case /Applications/matlab; yours looks like /Applications/MATLAB6p5)
Code:
[file: /Applications/MATLAB6p5/bin/LaunchMATLAB.app/Contents/launch_matlab.sh] |
Quote:
|
Quote:
|
I have got the license from mathworks via mail and I have carry out following steps.
The steps are write down in the file in MATLABLmgr on following path!!! HD/Library/StartupItems/MATLABLmgr/MATLABLmgr =============================== #!/bin/sh # # To install this script, perform the following actions as an Administrator: # # 1. Navigate via the Finder to the top level /Library folder. # 2. Create a folder within /Library called StartupItems, if it does not already exist. # 3. Copy the $MATLAB/etc/MATLABLmgr folder into the StartupItems folder. # 4. Open /Library/StartupItems/MATLABLmgr/MATLABLmgr with a text editor. # 5. Change |>MATLAB<| to be the location where MATLAB is installed (as a POSIX file # specifier, such as /Applications/MATLAB6p5). # 6. Change |>ME<| to be the user name under which the license manager daemon will be # started (for security reasons, this must not be root). # 7. Save MATLABLmgr back to disk. If your text editor gives you the option to choose # line ending styles (Macintosh versus UNIX), be sure to choose UNIX line endings. # 8. Reboot. # # During bootup, you should see the message "Starting MATLAB License Manager" appear # on the screen. # # $Revision: 1.2 $ . /etc/rc.common ### start FLEXlm ### ConsoleMessage "Starting MATLAB License Manager" MATLAB=/Applications/MATLAB6p5 ME=MyName if [ -f /Applications/MATLAB6p5/etc/lmboot ]; then /Applications/MATLAB6p5/etc/lmboot -u MyName fi I think I have done it correct!!!!!!!!!!!!!!!!!!!! The only message which I see by restart is: WAITING for MATLAB License Manager Jochen |
this is just a suggestion that i'm not sure will work. it seems you are trying to 'access' the license after instaling matlab and have tried to execute it multiple times.
try uninstalling it completely. reinstall, and it should ask you for the license during the install process (if my memory serves me correctly). |
@hayne
I hope you have sleeped very well (bad english???) Your question was ...using the menu in OroborOSX. Are you doing that?.. There is no menü to start MATLAB in OroborOSX The instruction of mathworks say that it start automatically. In OroborOSX there are some instructions in the second menue from left. start object edit, >>> window comes with a lot of info??? xinitrc carry out, nothing happened xterm, no result when I use it xeyes, >>> it works well xedit, >>> it works well xclock, >>> it works well xcalc, >>> it works well xbiff, >>> message with info MacGimp, >>> message with info ETerm, >>>message with info Jochen |
@vancenase
sorry that I ask. ...try uninstalling it completely... Do you mean that I must reinstall the the complete matlab??? and carry out a new install of all matlab??? Jochen |
Quote:
it's just a thought to try. good luck! |
I hadn't read your previous message carefully enough. I see now that it is saying that it is WAITING for the license manager. This seems to mean that MATLAB is trying to start but it doesn't find the license manager.
I'm sorry but I'm going to have to give up on this. it's too hard trying to help when I don't have the software in question and I don't know how it is supposed to work. I would suggest reading all the available documentation and then checking to see if there is a specific MATLAB mailing list or search for MATLAB-specific web sites where you might find someone who knows what is supposed to happen. Good luck. |
Today I have send an email to mathworks in germany.
I have received the CD ROM, license from the german office. I hope they can help me on monday. Thanks for help. I have learned something in our discussion!!!! Jochen |
also make sure you do a FULL install (that might help).
other than that, i haven't a clue on what is going on either! |
short note
Hello, I haven't read the previous messages carefully.... But you may like to try one thing very quickly, which usually solved my matlab problems in various systems and environment settings...
To start the matlab, instead of running >> matlab try this no-java-manager command --> >> matlab -nojvm |
traurig,
to be sure: is it your *own* Matlab licence? Since the Matlab version for OS X is a Unix version (and a damn cheap port :( ) it's a lot harder to install Matlab on multiple computers that you use "personally". Tried to install Matlab on my computer with a version licenced for a colleague (we collaborate in the same work-group, so I deemed it to be o.k.) and I got the same error messages. My colleague installed Matlab on his own Mac and it worked. So if it's licensed for a colleague of yours you might try by making him an administrator (if you trust him). An alternative is to use octave (www.octave.org), which can be installed via fink in no-time. It's a Matlab clone, and I have to confess: I haven't missed Matlab a single day. O.k.,o.k., the programs are not 100% compatible (perhaps only 95%), however it usually takes little effort to tweak those .m-files to get them running under octave. For more Matlab compatibility, make sure to install the octave-forge package, too (downloadable at sourceforge). What Matlab-stuff do you specifically need? Viel Glück! f |
Quote:
Sorry. Best. |
@freakypsycho
Thanks for your help. Let me say what I want. I wrote to mathworks in germany to get a demo of matlab for mac OS X (10.2.6).. They have send me a Passcode (license) some weeks ago and later on (last Thuersday) the CD with Installation guide for X Now I hope they have send me the correct things ?? The installation was succesfull, the X Window (OroborOSX) works but matlab doesn't start By restart of the mac the following message is in the window Waiting of License Manager Then the LOGIN comes. Today I have send a mail to mathworks germany. I hooooooooope the will give me support. Jochen (GER) |
Quote:
|
traurig,
I also could not get Matlab to work with OS 10.2 due to a license manager issue. I had multiple phone conversations with MathWorks' (very patient) tech support, editing the license file, etc. etc. In the end, the only thing that worked for me was to DISCONNECT my computer from the ethernet network. Once I pulled out the ethernet cable, I could launch Matlab without a problem. Tech support still has no idea why, but it worked for me. Maybe someone here can explain this. |
Hey
despairing users ;-) I discuss my problem in some groups. US and germany. The user and helper were very patient. But the result of my thinking is that mathworks muss optimize the installation of matlab. The installation should be like other X programms. It must be easier!!!! So it is not very effectiv. You know I will test only a demo!!! I and the other user need a lot of time to solve this installation problem. Jochen |
Quote:
Quote:
Think about it: what do you need Matlab for (function/toolboxes)?? Find out if Matlab is really irreplacable for your needs. I don't deny that this migth be the case sometimes. But most things can really be done as well by octave (I mean octave is the option if you insist on using Matlab-like syntax, which is sensible if you want to exchange functions with members of the Matlab community). It might turn out that you could spend that bunch of money on something else (e.g., a new Mac, a nice journey or a ridiculously expensive dinner with friends just to give some examples I can think of). All the best. |
| All times are GMT -5. The time now is 01:46 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.