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) :
輸入1后, 系統提示
Use the following command to add MATPOWER to your MATLAB path:addpath( ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\lib', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\lib\t', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\data', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\mips\lib', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\mips\lib\t', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\most\lib', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\most\lib\t', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\mptest\lib', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\mptest\lib\t', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\maxloadlim', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\maxloadlim\tests', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\maxloadlim\examples', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\misc', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\reduction', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\sdp_pf', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\se', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\smartmarket', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\state_estimator', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\syngrid\lib', ...'D:\Program Files\MATLAB\R2019b\toolbox\matpower7.0\extras\syngrid\lib\t', ...'-end' ); Would you like to save this command to a file? [Y or N] (default = N) :```
輸入N,回車后 系統提示
-------------------------------------------------------------------Once you have added the required directories to your MATLAB path
MATPOWER will be installed and ready to use.You may want to begin by typing: mpver
to see the list of installed MATPOWER related software versions.Or to run the MATPOWER test suite to ensure everything is
working correctly, type: test_matpower```