(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') on Windows
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

2 Comments

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.

Sign in to comment.

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Asked:

on 20 Nov 2025

Edited:

on 9 Dec 2025

Community Treasure Hunt

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

Start Hunting!