MATLAB 2022a copyobj not working properly

Hello Team,
In appdesigner we have a group of tabs and from that group we want to create copy of one specific tab using the copyobj function
but, we are seeing serious issues using that. The size of elements in the copied tab is not the same as from the source tab.
It seems to be half for e.g.
Note: Please see the attached screenshot for reference

Réponses (3)

Eric Delgado
Eric Delgado le 5 Oct 2022

0 votes

What release are you using?! I tested in R2021b and its ok. See app attached.
Rajiv Kumar
Rajiv Kumar le 6 Oct 2022

0 votes

Thanks for Reply
MATLAB 2022a is the version we are using for this test

1 commentaire

Eric Delgado
Eric Delgado le 6 Oct 2022
Did you run the app that I sent to you? What happened? You should save it (in the new release of matlab) before running it.

Connectez-vous pour commenter.

Rajiv Kumar
Rajiv Kumar le 18 Oct 2022

0 votes

Yes I executed I the .mlapp that was attached.
It was working fine in MatlabR2022a but tht application was developed in R2021b.
If we develop the .mlapp in R2022a and executed it fails for copyobj
PFA the .mlapp in R2022a

2 commentaires

Eric Delgado
Eric Delgado le 21 Oct 2022
Modifié(e) : Eric Delgado le 21 Oct 2022
You are right! I just execute it in R2022a and It doesn't work. It's a BUG. You must request support from Mathworks. @MathWorks Support Team
Rajiv Kumar
Rajiv Kumar le 28 Oct 2022
Thanks for confirming

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Produits

Version

R2022a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by