FreeBSD Bugzilla – Attachment 37146 Details for
Bug 59240
[patch] [handbook] update: linux MATLAB
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.21 KB, created by
Dan Pelleg
on 2003-11-13 01:00:36 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dan Pelleg
Created:
2003-11-13 01:00:36 UTC
Size:
2.21 KB
patch
obsolete
>--- en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml.orig Wed Nov 12 18:11:54 2003 >+++ en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml Wed Nov 12 19:30:21 2003 >@@ -859,21 +859,52 @@ > </tip> > </sect2> > >+ <sect2> >+ <title>Creating a &matlab; Shutdown Script</title> >+ >+ <para> The following is needed to solve a problem with &matlab >+ not exiting correctly.</para> >+ >+ <procedure> >+ <step> >+ <para>Create a file >+ <filename>$MATLAB/toolbox/local/finish.m</filename>, and >+ in it put the single line:</para> >+ >+ <programlisting>! $MATLAB/bin/finish.sh</programlisting> >+ >+ <note><para>The $MATLAB is literal.</para></note> >+ >+ <tip><para>In the same directory, you will find the files >+ <filename>finishsav.m</filename> and >+ <filename>finishdlg.m</filename>, which let you save >+ your workspace before quitting. If you use either of >+ them, insert the line above immediately after the "save" >+ command.</para></tip> >+ </step> >+ <step> >+ <para>Create a file >+ <filename>$MATLAB/bin/finish.sh</filename>, which will >+ contain the following:</para> >+ >+ <programlisting>#!/usr/compat/linux/bin/sh >+(sleep 5; killall -1 matlab_helper) & >+exit 0</programlisting> >+ </step> >+ <step> >+ <para>Make the file executable:</para> >+ >+ <screen>&prompt.root; <userinput>chmod +x $MATLAB/bin/finish.sh</userinput></screen> >+ >+ </step> >+ </procedure> >+ </sect2> >+ > <sect2 id="matlab-using"> > <title>Using &matlab;</title> > > <para>At this point you are ready to type >- <command>matlab</command> and start using it. Note that the >- version of <application>&java;</application> shipped with >- <application>&matlab;</application> does not work well under >- &os;. It will make it hard to quit >- <application>&matlab;</application> and you will have to >- <command>kill -9</command> it. If you do not use >- <application>&java;</application> at all, you can avoid this >- nuisance by starting >- <application>&matlab;</application> with the >- <option>-nojvm</option> >- switch.</para> >+ <command>matlab</command> and start using it.</para> > </sect2> > </sect1>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59240
: 37146