Menu not functioning because missing XML file "menu" in the "uistring" folder (../MATLAB/R2012b/resources/MATLAB/en/uistring/menu.xml)
조회 수: 2 (최근 30일)
이전 댓글 표시
I have Matlab R2012b, and I wrote some code, "correlate_images_GUI", that uses the default Matlab "menu" function. I gave my code to two colleagues, using R2011a, and they received the following error when they tried to run the code:
>>correlate_images_GUI ??? Error using ==> getString Unable to load a message catalog 'MATLAB:uistring:menu'. Please check the file location and format.
Error in ==> menu>local_GUImenu at 146 menuFig = figure( 'Units' ,MenuUnits, ...
I found the message catalog referenced in the error message, "menu.xml", in the folder "C:\Program Files\MATLAB\R2012b\resources\MATLAB\en\uistring" on my computer. One of my colleagues had the folder "en" on his computer, but did not have the folder "uistring" and therefore did not have the XML file "menu". When we created a folder "uistring" in the "en" folder and copied the "menu.xml" file to the "uistring" folder, then the code "correlate_images_GUI" that I wrote worked properly.
Does anyone know why Matlab version 2011a would be missing the "uistring" folder? Has anyone else had trouble using the default Matlab function "menu" in version 2011a?
Thanks, Elizabeth
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!