matlab for Linux °²×°
×÷Õߣºlch
matlab
for
Linux
°²×°
(
°²×°·½·¨ÎĵµÊÇ´ÓÍøÉϲé×ÊÁÏ+
ʵ¼ùµÃµ½µÄ )
Ò».
°²×°
1.
Ê×ÏÈÐèÒª½¨Á¢°²×°Ä¿Â¼
[wzh@localhost ~]$ su
[root@localhost ~]$ mkdir /usr/matlab
2.
È»ºó¼ÓÔعâÅÌÓ³Ïñ
[root@localhost wzh]# mount -o loop -t iso9660
/mnt/hda7/soft/MatlabR14Linux/Matlab_R14_Mac.Linux.Unix_CD1.iso /media/cdrom
3.
¿½±´license.dat(
²»Í¬µÄ¹âÅÌ¿ÉÄÜλÖò»Ò»Ñù)
[root@localhost wzh]# cd /usr/matlab
[root@localhost matlab]# cp
/media/cdrom/Matlab.7.R14.License-Mac.OS.X-Unix-Linux/Matlab.7.R14.License-Mac.OS.X-Unix-Linux/license.dat
.
(
Õâ¸öµã²»¿ÉÉÙ£¬¿½±´µ½µ±Ç°Ä¿Â¼)
4.
¿ªÊ¼°²×°
[root@localhost matlab]# /media/cdrom/install
ÔÚFedora8
Ï»áÌáʾ³ö´í(Everest 0.5
ÏÂÕý³£)
£º
/tmp/3012tmwinstall/update/bin/glnx86/xsetup: error while loading shared
libraries: libXp.so.6: cannot open shared object file: No such file or director
Îҵı¨´íÊÇÕâÑùµÄ£º
/tmp/2712tmwinstall/update/install/abort.sh: line 15:
/tmp/2712tmwinstall/update/install/cleanup.sh:
ûÓÐÄǸöÎļþ»òĿ¼
½â¾ö°ì·¨¸úÏÂÃæÊÇÒ»ÑùµÄ
½â¾ö°ì·¨£º½«CD1
ÖеÄupdate/bin/glnx86/libmwins.so
¿½±´µ½ /usr/lib
Ŀ¼£¬È»ºó¸üÃûΪ
libXp.so.6
[root@localhost matlab]# cp
/mnt/cdrom/update/bin/glnx86/libmwins.so /usr/lib/libXp.so.6
È»ºóÔÙ¿ªÊ¼install
5.
ÖмäÐèÒª»»¹âÅÌ£¬Áí¿ªÒ»¸öshell
°´ÌáʾÔغÍCD2
ºÍCD3
Ö±µ½°²×°Íê³É
[root@localhost wzh]# umount /media/cdrom
[root@localhost wzh]# mount -o loop -t iso9660
/mnt/hda7/soft/MatlabR14Linux/Matlab_R14_Mac.Linux.Unix_CD2.iso /media/cdrom
[root@localhost wzh]# umount /media/cdrom
[root@localhost wzh]# mount -o loop -t iso9660
/mnt/hda7/soft/MatlabR14Linux/Matlab_R14_Mac.Linux.Unix_CD3.iso /media/cdrom
6.
ÖØÐÂÔØÈëCD1
£¬¿½±´²¢ÐÞ¸Älicense.lic
[root@localhost wzh]# umount /media/cdrom
[root@localhost wzh]# mount -o loop -t iso9660
/mnt/hda7/soft/MatlabR14Linux/Matlab_R14_Mac.Linux.Unix_CD1.iso /media/cdrom
[root@localhost wzh]# cp
/media/cdrom/Matlab.7.R14.L
Ïà¹ØÎĵµ£º
1¡£ÒªÊ¹Óÿí×Ö·ûÖ§³Ö£¬Ê¹ÓÃw¿ªÍ·µÄһϵÁж«Î÷£¬Èçwstring£¬wofstreamµÈ¡£ÔÚʹÓÃwstringµÄʱºò£¬³£Á¿×Ö·û´®Ç°ÃæÒª¼ÓÉÏL£¬ÕâÑù²ÅÄÜת»»³Éwchar_tÐ͵Ä
else if(fileName.substr(fileName.rfind(L"."))==L".prj")
2¡£Ò»¸öÎļþÁ÷£¨ÎÞÂÛÊÇofstream»¹ÊÇwofstream£©£¬Ö»Ö§³Öconst char*×÷ΪÎļþÃû£¬¶ÔÓÚ¿í×Ö·ûµÄwstringµÄÎļþÃû ......
½ñÌìÖÕÓÚ°ÑOmapL137µÄ°å×ÓÅÜÆðÁËLinuxºÍÆä´øµÄdemo¡£ºÏÖÚ´ï¶ÔÕâ¸ö°å×Ó¶«Î÷×öµÄºÜÉÙ£¬°Ñomapl137µÄÌص㶼ûÓÐչʾ³öÀ´¡£¿É¾Í¿àÁËÎÒÃÇÕâЩÏëÒªÓÃÕâ¸öƬ×ÓµÄÈËÁË¡£¹úÄÚÍæÕâ¸öµÄÈË»¹²»¶à£¬ËùÓÐ×ÊÁϾÍÓ²×ÅͷƤÂýÂýÄ¥°É¡£
Ç°¶Îʱ¼äubootÊÇÓÉdspÄDZßÓÃnandwrite¹¤³Ìд½øÀ´µÄ£¬ÆäУÑ鷽ʽºÍubootµÄeccУÑéËƺõÓгåÍ»£¬ ......
ǶÈëʽLinuxÆô¶¯·ÖΪÁ½¸ö²¿·Ö£¬ÏµÍ³Òýµ¼ÓëLinuxÆô¶¯¡£ÏµÍ³Òýµ¼½«Íê³ÉLinux×°ÈëÄÚ´æÇ°£¬³õʼ»¯CPUºÍÏà¹ØI/OÉ豸£¬²¢½«Linuxµ÷ÈëÄÚ´æµÄ¹¤×÷¡£ÏµÍ³Òýµ¼Ö÷ÒªÓÉBootLoaderʵÏÖ¡£ÔÚBootLoader½«LinuxÄں˵÷ÈëÄÚ´æÖ®ºó£¬½«È¨Á¦½»¸øLinuxKernel£¬½øÈëLinuxµÄÆô¶¯²¿·Ö¡£ÒÔÏÂÏêϸ·ÖÎöÆô¶¯µÄ¹ý³ÌÓëʹÓõÄÎļþ¡£
Ò»¡¢ÏµÍ³Òýµ¼ÓëBootLoa ......
Linux
ÏÂÉèÖö˿ÚȨÏÞµÄϵͳµ÷ÓÃÓÐÁ½¸ö£º
ioperm
ºÍ
iopl
¡£
Ò»¡¢
ioperm
ºÍ
iopl
½éÉÜ¡£
1.ioperm
¹¦ÄÜÃèÊö£º
Ϊµ÷Óýø³ÌÉèÖÃ
I/O
¶Ë¿Ú·ÃÎÊȨÄÜ¡£
ioperm
µÄʹÓÃÐèÒª¾ßÓг¬¼¶Óû§µÄȨÏÞ£¬Ö»ÓеͶ˵Ä
[0-0x3ff] I/O
¶Ë¿Ú¿É±»ÉèÖã¬ÒªÏëÖ¸¶¨¸ü¶à¶Ë¿ÚµÄȨÄÜ£¬¿ÉʹÓÃ
iopl
º¯Êý¡£ÕâÒ»µ÷ÓÃÖ»¿ÉÓÃÓ ......