因国内无法访问Blogger,搬家至水景一页http://cnzhx.net/
这里可能不再更新,如果对于以前的文章有什么疑问,欢迎到新空间留言。
2009年8月25日 星期二
2009年1月8日 星期四
重设matlab对M file文件关联
因国内无法访问,转移至:http://cnzhx.net/blog/articles/reset-matlab-to-be-the-default-application-to-open-m-file/
可能是因为用了ghost恢复xp系统,或者别的什么原因,反正是双击打开.m文件时候,机器就打开matlab程序,而不是像以前那样在matlab程序的编辑器matlab editor里打开。更郁闷的是,如果本来已经打开了matlab程序,此时双击.m文件,会打开另一个matlab界面,相当的烦人。
找了n久,终于找到一个解决办法:
1)打开一个文件夹,依次打开菜单栏的工具(tools)——文件夹选项(folder options)
2)再在打开窗口上单击“文件类型”(file types),在“已注册的文件类型”(registered file types)中找到“M”文件类型,单击下面的“恢复”(Restore)。
这样就可以了。
但是,如果已经在matlab程序的preferences——editor/debugger中设定了用别的编辑器打开,那么需要重新设定为“MATLAB editor”才行。
如有疑问,欢迎到新不存在的空间留言。
可能是因为用了ghost恢复xp系统,或者别的什么原因,反正是双击打开.m文件时候,机器就打开matlab程序,而不是像以前那样在matlab程序的编辑器matlab editor里打开。更郁闷的是,如果本来已经打开了matlab程序,此时双击.m文件,会打开另一个matlab界面,相当的烦人。
找了n久,终于找到一个解决办法:
1)打开一个文件夹,依次打开菜单栏的工具(tools)——文件夹选项(folder options)
2)再在打开窗口上单击“文件类型”(file types),在“已注册的文件类型”(registered file types)中找到“M”文件类型,单击下面的“恢复”(Restore)。
这样就可以了。
但是,如果已经在matlab程序的preferences——editor/debugger中设定了用别的编辑器打开,那么需要重新设定为“MATLAB editor”才行。
如有疑问,欢迎到新不存在的空间留言。
标签:
计算机
2008年12月21日 星期日
从微软网站更新出现0x80B00003错误
出现这个错误,所以无法安装新的更新控件,于是更新也就无法继续了。
查找微软网站并没有找到可行的解决方案,却试用很多他们提出的“可能的”解决方案,麻烦得要死。
后来发现可能是因为windows xp自带的防火墙的问题。于是先禁用再启用自带的防火墙,可以安装控件了,但是随后又出现这个错误:
Error number: 0x8024402F
郁闷,继续找原因……
----------------------------------------------
似乎重起之后就好了。
查找微软网站并没有找到可行的解决方案,却试用很多他们提出的“可能的”解决方案,麻烦得要死。
后来发现可能是因为windows xp自带的防火墙的问题。于是先禁用再启用自带的防火墙,可以安装控件了,但是随后又出现这个错误:
Error number: 0x8024402F
郁闷,继续找原因……
----------------------------------------------
似乎重起之后就好了。
标签:
计算机
2008年12月19日 星期五
从windows ntfs硬盘安装opensuse 11.1的问题及解决
这个是在forums.opensuse.org的帖子,懒得重写了,原文贴上,下一次就不用再费劲了:
problem with installing opensuse 11.1 from ntfs hard drive
I download the DVD iso from the opensuse.org site last night, and can't complete my installation yet. Someone plz help me out!This is the problem, occurred in step (4):
1)place the openSUSE-11.1-DVD-i586.iso in hard drive D (ntfs partion in windows xp on notebook);
2)autorun the iso using a virtual cd/dvd soft(powerISO), and install the opensuse installer(local);
3)reboot computer and enter the install procedure;
4)when the yast2 proceeds to System Probing and on the last item Initialize package manager, I get an error message about Unable to create repository ...;
5)I click on 'yes' and put the path of the iso manual, and get another error message:
Unable to create repository from URL 'iso:/?iso=openSUSE-11.1-DVD-i586.iso&url=hd:///?device=/dev/sda5&filesystem=auto'.Details: Failure to mount /dev/sda5 or /var/adm/mount/AP_0x00000001: Mounting media failed ( mount: /dev/sda5 already mounted or /var/adm/mount/AP_0x00000001/ bu
Try again?
and if I try again, the same problem come again.I had completely installed the 11.0 by this means(maybe something different in detail, I can't remember).
Please help me out!
lonelicloud
View Public Profile
Send a private message to lonelicloud
Find all posts by lonelicloud
Add lonelicloud to Your Contacts
#2 (permalink)
vbrep_register("1910665")
Today, 10:55
robopensuse
vbmenu_register("postmenu_1910665", true);
Student Penguin
Join Date: Dec 2008
Posts: 58
Re: problem with installing opensuse 11.1 from ntfs hard dri
Are you actually running the linux kernel and making installer choices before then? If so if you CNTRL-ALT-F2 you will get a root prompt and you can dig around a bit.
But I'm not sure how much that will help, though you can then make copies of the YaST log files that are required to file a bug report.
If you can't get YaST to loopback mount the ISO file off the NTFS partition, then you can either, burn the DVD and install normal way, or use another Linux host, which loopback mounts the file and exports via NFS.Though I'm sure you have a good reason for installing off the disk image, it must be much less well tested than the Live CD, disk and net install options.
robopensuse
View Public Profile
Send a private message to robopensuse
Find all posts by robopensuse
Add robopensuse to Your Contacts
#3 (permalink)
vbrep_register("1910832")
Today, 14:57
lonelicloud
vbmenu_register("postmenu_1910832", true);
Puzzled Penguin
Join Date: Dec 2008
Posts: 2
Re: problem with installing opensuse 11.1 from ntfs hard dri
Thank you for your advise!
I released the iso file to drive D and copied it to a usb hard drive, then began to install opensuse 11.1.
When it asked for source, I gave the iso file on the usb hard drive and it began to start yast2 and entered the graphic UI.
When it performs the initial progress to the last step and ask for the repository, I give the released files on drive D, it accept and give the next button for me finally.
problem with installing opensuse 11.1 from ntfs hard drive
I download the DVD iso from the opensuse.org site last night, and can't complete my installation yet. Someone plz help me out!This is the problem, occurred in step (4):
1)place the openSUSE-11.1-DVD-i586.iso in hard drive D (ntfs partion in windows xp on notebook);
2)autorun the iso using a virtual cd/dvd soft(powerISO), and install the opensuse installer(local);
3)reboot computer and enter the install procedure;
4)when the yast2 proceeds to System Probing and on the last item Initialize package manager, I get an error message about Unable to create repository ...;
5)I click on 'yes' and put the path of the iso manual, and get another error message:
Unable to create repository from URL 'iso:/?iso=openSUSE-11.1-DVD-i586.iso&url=hd:///?device=/dev/sda5&filesystem=auto'.Details: Failure to mount /dev/sda5 or /var/adm/mount/AP_0x00000001: Mounting media failed ( mount: /dev/sda5 already mounted or /var/adm/mount/AP_0x00000001/ bu
Try again?
and if I try again, the same problem come again.I had completely installed the 11.0 by this means(maybe something different in detail, I can't remember).
Please help me out!
lonelicloud
View Public Profile
Send a private message to lonelicloud
Find all posts by lonelicloud
Add lonelicloud to Your Contacts
#2 (permalink)
vbrep_register("1910665")
Today, 10:55
robopensuse
vbmenu_register("postmenu_1910665", true);
Student Penguin
Join Date: Dec 2008
Posts: 58
Re: problem with installing opensuse 11.1 from ntfs hard dri
Are you actually running the linux kernel and making installer choices before then? If so if you CNTRL-ALT-F2 you will get a root prompt and you can dig around a bit.
But I'm not sure how much that will help, though you can then make copies of the YaST log files that are required to file a bug report.
If you can't get YaST to loopback mount the ISO file off the NTFS partition, then you can either, burn the DVD and install normal way, or use another Linux host, which loopback mounts the file and exports via NFS.Though I'm sure you have a good reason for installing off the disk image, it must be much less well tested than the Live CD, disk and net install options.
robopensuse
View Public Profile
Send a private message to robopensuse
Find all posts by robopensuse
Add robopensuse to Your Contacts
#3 (permalink)
vbrep_register("1910832")
Today, 14:57
lonelicloud
vbmenu_register("postmenu_1910832", true);
Puzzled Penguin
Join Date: Dec 2008
Posts: 2
Re: problem with installing opensuse 11.1 from ntfs hard dri
Thank you for your advise!
I released the iso file to drive D and copied it to a usb hard drive, then began to install opensuse 11.1.
When it asked for source, I gave the iso file on the usb hard drive and it began to start yast2 and entered the graphic UI.
When it performs the initial progress to the last step and ask for the repository, I give the released files on drive D, it accept and give the next button for me finally.
标签:
计算机
订阅:
帖子 (Atom)