使用JCR (Journal Citation Report) 資料庫查詢,連結如下:
http://admin-apps.isiknowledge.com/JCR/JCR
--
ISI Web of Science
http://www.webofknowledge.com/
2010年7月29日 星期四
2010年7月22日 星期四
NS2 以setdest產生節點移動檔
使用版本:ns-2.34
位置:~/ns-allinone-2.34/ns-2.34/indep-utils/cmu-scen-gen/setdest/
資料夾內的 README 有教如何產生mobility檔案,
原例如下:
Run setdest with arguments as shown below:
./setdest [-v version of setdest; 1 for original 1999 C MU version or 2 for modified 2003 U.Michigan version ]
[-n num_of_nodes] [-p pausetime] [-s maxspeed] [-t simtime] [-x maxx] [-y maxy] > [outdir/movement-file]
Example: ./setdest -v 1 -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > scen-20-test
and the output will be written in a file called scen-20-test.
然而,README範例內容寫錯了,正確應是 [-M maxspeed]
注意 -M 才是設定最大速度的方式。
且由於setdest.cc檔已修改過,所以參數部分可以有更多選擇。
若是要使用第二種移動檔產生方式(v2 modified at 2003 by J. Yoon of U.Michigan),
參數的使用可改成:
./setdest [-v 2 (for modified 2003 U.Michigan version) ]
[-n num_of_nodes] [-p pausetime] [-s speedtype] [-m minspeed] [-M maxspeed] [-P pausetype] [-t simtime] [-x maxx] [-y maxy]
位置:~/ns-allinone-2.34/ns-2.34/indep-utils/cmu-scen-gen/setdest/
資料夾內的 README 有教如何產生mobility檔案,
原例如下:
Run setdest with arguments as shown below:
./setdest [-v version of setdest; 1 for original 1999 C MU version or 2 for modified 2003 U.Michigan version ]
[-n num_of_nodes] [-p pausetime] [-s maxspeed] [-t simtime] [-x maxx] [-y maxy] > [outdir/movement-file]
Example: ./setdest -v 1 -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > scen-20-test
and the output will be written in a file called scen-20-test.
然而,README範例內容寫錯了,正確應是 [-M maxspeed]
注意 -M 才是設定最大速度的方式。
且由於setdest.cc檔已修改過,所以參數部分可以有更多選擇。
若是要使用第二種移動檔產生方式(v2 modified at 2003 by J. Yoon of U.Michigan),
參數的使用可改成:
./setdest [-v 2 (for modified 2003 U.Michigan version) ]
[-n num_of_nodes] [-p pausetime] [-s speedtype] [-m minspeed] [-M maxspeed] [-P pausetype] [-t simtime] [-x maxx] [-y maxy]
注意,在第二種移動方式中, -s 為選擇 speed type,-m -M 才是分別設定最小跟最大速度的方式。
若想要分別大量產生 v1 及 v2 的移動檔,
可以使用make-scen.csh (v1) 跟 make-scen-steadystate.csh (v2)。
2010年4月20日 星期二
使用遠端桌面出現 Atbroker.exe 錯誤
最近常常在使用遠端桌面(mstsc.exe)連到學校電腦(Windows 7, 64 bits)時,
出現錯誤訊息
「
AtBroker.exe-應用程式錯誤
應用程式無法正確地初始化 (0xc0000142)。
按一下 [確定] 以終止應用程式。
」
然後畫面就全黑。
查了一下,是因為Winlogon.exe 程序與 Atbroker.exe 程序之間的計時問題。
↑微軟的解釋,有講跟沒講一樣....
Anyway, 解決辦法是:在遠端的桌面上,按下 CTRL+ALT+END,
然後再按一下取消就可以正常顯示了。
參考網頁:
http://support.microsoft.com/kb/940542/zh-tw
http://justacookie.blogspot.com/2010/02/atbrokerexe-error.html
出現錯誤訊息
「
AtBroker.exe-應用程式錯誤
應用程式無法正確地初始化 (0xc0000142)。
按一下 [確定] 以終止應用程式。
」
然後畫面就全黑。
查了一下,是因為Winlogon.exe 程序與 Atbroker.exe 程序之間的計時問題。
↑微軟的解釋,有講跟沒講一樣....
Anyway, 解決辦法是:在遠端的桌面上,按下 CTRL+ALT+END,
然後再按一下取消就可以正常顯示了。
參考網頁:
http://support.microsoft.com/kb/940542/zh-tw
http://justacookie.blogspot.com/2010/02/atbrokerexe-error.html
2010年3月16日 星期二
如何在 ubuntu 9.10,安裝 ns-2.34
參考網頁:
http://ns-2.blogspot.com/2009/11/how-to-install-ns-234-on-ubuntu-910.html
第一步:從 Sourceforge下載ns-allinone-2.34.tar.gz
第二步:放在local端,ex: /home/NS2,解壓縮
$ cd /home/NS2
$ tar -zxvf ns-allinone-2.34.tar.gz
第三步:安裝一些其他必要的檔案
$ sudo apt-get install build-essential autoconf automake libxmu-dev
第四步:安裝ns2
$ cd ns-allinone-2.34
$ ./install
第五步:如果出錯了,是由於otcl-1.13 和 gcc-4.4.1/g++-4.4.1 (ubuntu 9.10內建的版本)不太合,無法compile,所以需要改安裝 g++-4.3版
$ sudo apt-get install g++-4.3
$ CC=gcc-4.3 CXX=g++-4.3 ./install
接著,還要再修改otcl資料夾內的Makefile.in
$ cd otcl-1.13
$ sudo gedit Makefile.in
把第7行的 CC= 改掉
From :
CC= @CC@
To:
CC= gcc-4.3
存檔後離開。
$ cd .. (應該會回到 ns-allinone-2.34資料夾底下)
$ ./install
第六步:修改環境變數、path
$ gedit ~/.bashrc
將以下幾行加在檔案的最後面,/home/NS2/ 則必須根據你自己的檔案名做更改。
ns2安裝完成後,最後面會提醒你要修改.bashrc,如果不知道/home/NS2/ 要替換成什麼,請參考ns2給的path。
# LD_LIBRARY_PATH
OTCL_LIB=/home/NS2/ns-allinone-2.34/otcl-1.13
NS2_LIB=/home/NS2/ns-allinone-2.34/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
# TCL_LIBRARY
TCL_LIB=/home/NS2/ns-allinone-2.34/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/home/simulator/ns-allinone-2.34/bin:/home/simulator/ns-allinone-2.34/tcl8.4.18/unix:/home/simulator/ns-allinone-2.34/tk8.4.18/unix
NS=/home/simulator/ns-allinone-2.34/ns-2.34/
NAM=/home/simulator/ns-allinone-2.34/nam-1.14/
export PATH=$PATH:$XGRAPH:$NS:$NAM
第七步:驗證是否安裝成功
$ cd ns-2.34
$ ./validate
完成後會出現:
validate overall report: all tests passed
恭喜 :)
--
如果仍然不行,請參考這個網頁所給的第二種方法,然後再./install一次
http://ns-2.blogspot.com/2009/11/how-to-install-ns-234-on-ubuntu-910.html
第一步:從 Sourceforge下載ns-allinone-2.34.tar.gz
第二步:放在local端,ex: /home/NS2,解壓縮
$ cd /home/NS2
$ tar -zxvf ns-allinone-2.34.tar.gz
第三步:安裝一些其他必要的檔案
$ sudo apt-get install build-essential autoconf automake libxmu-dev
第四步:安裝ns2
$ cd ns-allinone-2.34
$ ./install
第五步:如果出錯了,是由於otcl-1.13 和 gcc-4.4.1/g++-4.4.1 (ubuntu 9.10內建的版本)不太合,無法compile,所以需要改安裝 g++-4.3版
$ sudo apt-get install g++-4.3
$ CC=gcc-4.3 CXX=g++-4.3 ./install
接著,還要再修改otcl資料夾內的Makefile.in
$ cd otcl-1.13
$ sudo gedit Makefile.in
把第7行的 CC= 改掉
From :
CC= @CC@
To:
CC= gcc-4.3
存檔後離開。
$ cd .. (應該會回到 ns-allinone-2.34資料夾底下)
$ ./install
第六步:修改環境變數、path
$ gedit ~/.bashrc
將以下幾行加在檔案的最後面,/home/NS2/ 則必須根據你自己的檔案名做更改。
ns2安裝完成後,最後面會提醒你要修改.bashrc,如果不知道/home/NS2/ 要替換成什麼,請參考ns2給的path。
# LD_LIBRARY_PATH
OTCL_LIB=/home/NS2/ns-allinone-2.34/otcl-1.13
NS2_LIB=/home/NS2/ns-allinone-2.34/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
# TCL_LIBRARY
TCL_LIB=/home/NS2/ns-allinone-2.34/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/home/simulator/ns-allinone-2.34/bin:/home/simulator/ns-allinone-2.34/tcl8.4.18/unix:/home/simulator/ns-allinone-2.34/tk8.4.18/unix
NS=/home/simulator/ns-allinone-2.34/ns-2.34/
NAM=/home/simulator/ns-allinone-2.34/nam-1.14/
export PATH=$PATH:$XGRAPH:$NS:$NAM
第七步:驗證是否安裝成功
$ cd ns-2.34
$ ./validate
完成後會出現:
validate overall report: all tests passed
恭喜 :)
--
如果仍然不行,請參考這個網頁所給的第二種方法,然後再./install一次
2010年2月5日 星期五
Matlab 7 在Windows 7 下無法開啟執行
Windows 7上安裝完Matlab 7.1,點桌上的捷徑執行後,
出現如下的錯誤畫面:

稍微看了一下,是java執行的問題,
最簡單的解決方法是修改相容性,
右鍵點選Matlab捷徑\內容,接著如下圖:

變更所有使用者的設定\ 以相容模式執行這個程式,
選擇Windows Vista (Service Pack 2),確定後關閉。
再重新執行應該就可以了。
若還不行,則再參考 以下修改使用的java
http://recluze.wordpress.com/2009/07/30/matlab-7-under-windows-7/
參考網頁:
http://zcx20072010.blog.163.com/blog/static/10779744620091015112028548/
出現如下的錯誤畫面:

稍微看了一下,是java執行的問題,
最簡單的解決方法是修改相容性,
右鍵點選Matlab捷徑\內容,接著如下圖:

變更所有使用者的設定\ 以相容模式執行這個程式,
選擇Windows Vista (Service Pack 2),確定後關閉。
再重新執行應該就可以了。
若還不行,則再參考 以下修改使用的java
http://recluze.wordpress.com/2009/07/30/matlab-7-under-windows-7/
參考網頁:
http://zcx20072010.blog.163.com/blog/static/10779744620091015112028548/
2009年12月31日 星期四
2009年11月10日 星期二
Word 2007 修改預設範本 Normal.dotm
改了段落,不小心按到預設值,然後就改不回來了Orz
查了好久發現 Word 2007 的預設值是一個範本,稱為 Normal.dotm
點開word,選開啟舊檔,選擇Normal.dotm開啟。
如果不知道在哪裡可以搜尋一下,我的是放在
C:\Users\User_name\AppData\Roaming\Microsoft\Templates\Normal.dotm
要確定開啟的是Normal.dotm沒錯,請確定標題列出現的是Normal.dotm,而不是 文件#.doc
接下來,所有做的修改就都是修改預設範本,
以後每次開新檔案會直接套用的格式。
參考網頁:
http://office.microsoft.com/zh-tw/word/HA100307561028.aspx?pid=CH100626151028
查了好久發現 Word 2007 的預設值是一個範本,稱為 Normal.dotm
點開word,選開啟舊檔,選擇Normal.dotm開啟。
如果不知道在哪裡可以搜尋一下,我的是放在
C:\Users\User_name\AppData\Roaming\Microsoft\Templates\Normal.dotm
要確定開啟的是Normal.dotm沒錯,請確定標題列出現的是Normal.dotm,而不是 文件#.doc
接下來,所有做的修改就都是修改預設範本,
以後每次開新檔案會直接套用的格式。
參考網頁:
http://office.microsoft.com/zh-tw/word/HA100307561028.aspx?pid=CH100626151028
訂閱:
文章 (Atom)