Why do i receive Error using exportgraphics

9 vues (au cours des 30 derniers jours)
Jakub Rolbiecki
Jakub Rolbiecki le 13 Nov 2022
Commenté : Jakub Rolbiecki le 13 Nov 2022
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 commentaires
Jakub Rolbiecki
Jakub Rolbiecki le 13 Nov 2022
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 le 13 Nov 2022
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()

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by