Why do i receive Error using exportgraphics

조회 수: 9 (최근 30일)
Jakub Rolbiecki
Jakub Rolbiecki 2022년 11월 13일
댓글: Jakub Rolbiecki 2022년 11월 13일
I am wondering why this code is not working for me. The user selects the path. Then I create a folder and in it I want to save my UIaxes.
My error looks like this:
  댓글 수: 3
Jakub Rolbiecki
Jakub Rolbiecki 2022년 11월 13일
Yes, It works correctly when it enters the path or when it is not edited. The moment it adds the created folder there is an error. The path in the computer is correct. The application works with this path when turned on and off.
Jakub Rolbiecki
Jakub Rolbiecki 2022년 11월 13일
I found solution. The path is in character vector. I added the parts od path in string and then Convert to Character vector and it is working
convertStringsToChars()

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by