日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

最简单的方法教你装matpower

發布時間:2023/12/31 编程问答 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 最简单的方法教你装matpower 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1、下載matpower安裝包,官網為matpower官方下載地址https://matpower.org/

2、將下載后的安裝包解壓到桌面上,并將安裝包復制到matlab安裝目錄下的toolbox里。

3、運行matlab,在matlab的運行目錄下找到剛剛復制進toolbox里的安裝包文件夾,并運行里面的install_matpower.m。或輸入install_matpower 回車也可。


4、出現以下情況,輸入3,回車。

MATPOWER Installation Options:1. Do NOT modify the MATLAB path(just generate the required ADDPATH commands)2. DO modify the MATLAB path, but only temporarily(you will have to do it again next time you run MATLAB)3. DO modify the MATLAB path, and SAVE the updated path(so you will not have to do it again next time you run MATLAB)Please enter your selection [1, 2, 3] (default = 1) :

5、出現以下情況,輸入N,回車。

Use the following command to add MATPOWER to your MATLAB path:addpath( ...'D:\Matlab\toolbox\matpower7.1\lib', ...'D:\Matlab\toolbox\matpower7.1\lib\t', ...'D:\Matlab\toolbox\matpower7.1\data', ...'D:\Matlab\toolbox\matpower7.1\most\lib', ...'D:\Matlab\toolbox\matpower7.1\most\lib\t', ...'D:\Matlab\toolbox\matpower7.1\mp-opt-model\lib', ...'D:\Matlab\toolbox\matpower7.1\mp-opt-model\lib\t', ...'D:\Matlab\toolbox\matpower7.1\mips\lib', ...'D:\Matlab\toolbox\matpower7.1\mips\lib\t', ...'D:\Matlab\toolbox\matpower7.1\mptest\lib', ...'D:\Matlab\toolbox\matpower7.1\mptest\lib\t', ...'D:\Matlab\toolbox\matpower7.1\extras\maxloadlim', ...'D:\Matlab\toolbox\matpower7.1\extras\maxloadlim\tests', ...'D:\Matlab\toolbox\matpower7.1\extras\maxloadlim\examples', ...'D:\Matlab\toolbox\matpower7.1\extras\misc', ...'D:\Matlab\toolbox\matpower7.1\extras\reduction', ...'D:\Matlab\toolbox\matpower7.1\extras\sdp_pf', ...'D:\Matlab\toolbox\matpower7.1\extras\se', ...'D:\Matlab\toolbox\matpower7.1\extras\smartmarket', ...'D:\Matlab\toolbox\matpower7.1\extras\state_estimator', ...'D:\Matlab\toolbox\matpower7.1\extras\syngrid\lib', ...'D:\Matlab\toolbox\matpower7.1\extras\syngrid\lib\t', ...'-end' );Would you like to save this command to a file? [Y or N] (default = N) :

6、將上面的代碼 從 addpath( … 一直復制到 ‘-end’ ) , 回車運行一遍,即可完成安裝。 并輸入 test_matpower 回車,進行測試。測試結果等待幾十秒鐘,各項ok后,顯示如下:

總結

以上是生活随笔為你收集整理的最简单的方法教你装matpower的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。