(bug)The showMatchedFeatures function blocks when used in an .mlx file

The showMatchedFeatures function blocks when used in an .mlx file, preventing subsequent statements from executing!
  • R2026a prerelease('26.1.0.3030274 (R2026a) Prerelease'
  • '26.1.0.3133997 (R2026a) Prerelease Update 3'
  • on Windows 10 22H2
For example, the code below hangs on the showMatchedFeatures function when run on the R2026a prerelease desktop version — it stays in a “Running” state and never prints the variable c.
img1 = imread("peppers.png");
img2 = img1;
pts1 = randi(500,30,2);
pts2 = pts1;
showMatchedFeatures(img1, img2, pts1, pts2, "montage");
a = 1;
b = 2;
c =a+b
c = 3
Occasionally the following error occurs:
Warning: An error occurred while drawing the scene: GraphicsView error in command: controlmanagermessage: TypeError: Cannot set properties of undefined (setting 'tabIndex')
at u.setTabIndex (https://127.0.0.1:31516/toolbox/matlab/uitools/figurelibjs/release/bundle.mwBundle.gbtfigure-lib.js?sre=https

2 commentaires

I couldn't reproduce this. I can see "c = 3" printed in the MLX file within the editor. It looks the "c = 3" also printed in the screenshot you've shared. I'm not sure why the MLX file stays in a running state though. Is that reproducible with other plotting functions like PLOT?
The other plotting functions don't show any issues for now. I can reproduce the problem with the showMatchedFeatures function — you can see it in the MP4 I recorded.

Connectez-vous pour commenter.

Réponses (0)

Modifié(e) :

le 23 Mar 2026 à 1:42

Community Treasure Hunt

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

Start Hunting!

Translated by