Problem while running setup of Raspberry Pi Support Package
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi Matlabers,
I am trying to install the Rapbian imager for matlab, and while configuring my hardware in the process, i get the following error:
"cannot retrieve removable drives: 'wmic' is not recognized as an internal or external command, operable program or batch file"
I saw a question like this here before but the solution there wasn't good for me.
I added the following to my Path
%SystemRoot%\System32\Wbem
but no good.
Please help!
댓글 수: 1
Prasanth Sunkara
2020년 10월 12일
Hi Aviv, Can you please check if you are able to execute "wmic" command on windows terminal without errors? If it does, MATLAB should also be able to execute the command.
I am sure you have gone through some windows questions like this: https://superuser.com/questions/1178674/wmic-is-not-recognized-as-an-internal-or-external-command-operable-program-or#comment1706201_1178758
I would also encourage you to post this question on any windows forums along with a screenshot of the environment variables of your system, especially focussing on how and where you have added wmic to path.
Thanks,
Prasanth
답변 (1개)
polsky edd
2022년 9월 29일
The error states that the WMIC is not recognized as an internal or external command. Windows displays this error message when it does not find the WMIC in the system path. To solve this problem, you have to define a System Variable by adding the path of the WMIC executable file.
Open the advanced System Properties window (you can open the System page with Windows+Pause/Break) and on the Advanced tab, click Environment Variables. In the section for system variables, find PATH (or any capitalization thereof). Add this entry to it:
%SystemRoot%\System32\Wbem
Note that entries are delimited by semicolons.
http://net-informations.com/q/mis/wmic.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!