[META] Code doesn't run in MATLAB Answers Live Editor

The Live Editor in MATLAB Answers does not give output when I run any code, the prompt/message-box saying Executing in R2023b shows up and it just keeps executing, but does not complete running nor does it says time out (It keeps executing for more than 55 secs).
When I force stop the execution by pressing the red button, the run button does not go back to the green triangle, it stays like the stop button and I can not run the code again.
Has/Is anyone else faced/facing this issue?
I am attached a link to a media file that shows the problem - https://drive.google.com/file/d/1llROFneL3UFo0QlqF3vuwSmRmxBwqzSD/view?usp=sharing
(Sorry for the quality, uploading a file online seems to downgrade the quality a lot)

13 Comments

@Rena Berman Could you please look into this?
(Answers Dev) @Dyuman Joshi I will forward this to the right person.
@Dyuman Joshi — I’ve not been having any problems with it, so it may depend on your browser. Updating (if necesary) and restarting your browser may require rebooting your computer, so give that a shot. Firefoix (that I use currently) just issued an update, and when Firefox needs to be updated, often the current version ceases to work correctly.
I haven't experienced this issue. @Dyuman Joshi, you mentioned live editor but your video show matlab answers.
  • Did you also experience this in MATLAB Editor?
  • Does this happen even after you close all browser windows and clear caches?
  • Does this occur for all commands, even something as simple as t=1?
I don't work in this area but this info will likely be helpful to know.
@Rena Berman - Thank you.
@Star Strider - I am using Firefox as well and recently updated it to the latest version. (118.0.2, 64-bit)
@Adam Danz - I meant the editor we use in MATLAB Anwers. I don't what it is specifically called so I mentioned MATLAB Answer Live Editor.
  • No, I have not experienced this in the MATLAB app Editor.
  • Let me do that and update you about it.
  • Yes, it occurs for all commands. Even writing anything and running the code ends up doing what I described.
Though, due to some unfortunate circumstances, my PC had to undergo a Windows update. Thought of providing you this information, in case that might be helpful.
@Dyuman Joshi — In my experience, the Windows updates rarely work correctly after the first reboot. I always do at least four warm reboots after an update to get everything working correctly, and as well after browser and driver updates. (I hate Windows since Windows 7 — especially all the recent crashes and recent bloatware — so my next computer OS is going to be Linux. I need to figure out which Linux release or version is best.)
4(!) warm reboots - Damn. Very well, I will check this issue again after re-booting a couple of times.
I am with you, I actively dislike the Windows versions after 7. Though I become neutral about Windows 10 for the first 6 months or so, but after that they just started issueing useless updates and bloatware as you mention. Not only that, they also dis-continued updates for some things that were good about Win 10. After each update, the performance of my PC has gotten worse and worse and has suffered a few BSOD crashes :(
It's pathetic. And Windows 11 is e^pathetic. Not to mention a privacy nightmare.
I will also be changing my OS soon. Since I have some experience with Ubuntu, so I'll try it out.
I’ve heard good thing about Ubuntu. I’m still learning about Linux, so I’ll have to see what works best (specifically with respect to MATLAB).
What should I do with this question?
(Answers Dev) @Dyuman Joshi I will forward this again to the associated developer.
@Rena Berman, I meant that - as the issue is resolved, what should I do with this thread.
Do I close it? If so, for what reasons? or should I let it be open for now?
(Answers Dev) @Dyuman Joshi, if you beleive the issue is resolved then feel free to close the question as not appropriate for MATLAB Answers. If not, then you can leave it open.
@Rena Berman - Yes, the issue has been resolved.
I will close the question as not appropriate for MATLAB Answers, as you mentioned.
I thank everyone for their assistance.

Answers (1)

I would like to update that the issue is resolved now -
y = 1
y = 1
z = magic(5)
z = 5×5
17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 12 19 21 3 11 18 25 2 9
However, the execution is a bit slow than before.
The cause of this buggish behvaiour is still unknown to me. I am not closing this thread as of now, maybe afterwards, if I get more information regarding this issue.

This question is closed.

Asked:

on 13 Oct 2023

Closed:

on 30 Oct 2023

Community Treasure Hunt

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

Start Hunting!