Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Tab-expansion freezes matlab, signal for interupting?

Subject: Tab-expansion freezes matlab, signal for interupting?

From: Bjorn Gustavsson

Date: 4 Jun, 2010 12:34:04

Message: 1 of 2

Hello Folks,

I happened into a annoying problem: at the matlab prompt I typed p_ and then hit tab for a quick expansion, matlab didn't expand anything but seemingly froze on the task and now spends 98% CPU time to do something but not finishing it. Since I'm working on a linux system I hope to be able to send the process a signal that interrupts this in a nice way and not make it coredump. Does anyone have a good signal to suggest? As I'd worked for some time there are results there I wouldn't want to loose with a direct kill...

Hoping for help,
Bjeorn

Subject: Tab-expansion freezes matlab, signal for interupting?

From: sscnekro

Date: 5 Jun, 2010 12:36:20

Message: 2 of 2

> As I'd worked for some time there are results there I wouldn't want to loose with a direct kill...

Hey Bjeorn,

I'm with Wdws XP and ML ignores Ctrl+C when I want to stop execution, so the last time it happenned I just killed it, but I would like to learn some proper ways. I have no idea what does your "expansion operation" do, but just quickly typing in google e.g. interrupt+code+execution+Matlab+Linux
gives some hints.

I think I will need to adapt my problematic pieces of code so that they contain pause(0) at some lines, or that results are repeatedly saved to file so that not evth is lost. Good luck.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us