I am trying to use the 'Simplified Model of a Small Scale Micro-Grid' and I keep encountering errors with the Battery and the Subsystem.
The errors I get are:
Warning: Could not evaluate MaskDisplay commands of block 'power_microgrid/Battery':
File "C:\Program Files\MATLAB\R2022a\toolbox\physmod\powersys\DR\DRdemo\Battery.jpg"
does not exist.
Warning: Could not evaluate MaskDisplay commands of block 'power_microgrid/Subsystem':
File "C:\Program Files\MATLAB\R2022a\toolbox\physmod\powersys\DR\DRdemo\Battery.jpg"
does not exist.
I am very much a novice MATLAB user and after tearing my hair out all day I thought I'd ask the community for help.
I am using MATLAB on a computer running Windows 11 Pro (10.0.22000)...if that information is relevant.

댓글 수: 2

Walter Roberson
Walter Roberson 2022년 4월 18일
Find some (any) small jpg image and copy it to C:\Program Files\MATLAB\R2022a\toolbox\physmod\powersys\DR\DRdemo\Battery.jpg ? Just so you can get further?
Amy Ross
Amy Ross 2022년 4월 18일
That is a cunning plan. Oddly when I went through the files there is no DRdemo folder as it goes C:\Program Files\MATLAB\R2022a\toolbox\physmod\powersys\DR\DR so I renamed the second DR folder to DRdemo and when I went to save a picture called battery.jpeg there I was told I don't have permission to save in that location and to contact the system administrator which I guess will need to be my next step.

댓글을 달려면 로그인하십시오.

답변 (1개)

Amy Ross
Amy Ross 2022년 4월 18일

0 개 추천

Interestingly the power_microgrid works in MATLAB 2020b but not later versions so something must have changed between versions. If you have admin rights to the computer you are using you could try @Walter Roberson's approach to saving a couple of jpegs to see if that gets you past the error. Thank you to Walter for taking the time to reply.

카테고리

질문:

2022년 4월 18일

답변:

2022년 4월 18일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by