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:
Excel xlswrite

Subject: Excel xlswrite

From: Vinz A

Date: 24 Jun, 2010 20:19:04

Message: 1 of 2

Hi
 can anyone please help me with this error'

Inlet_Design.xls is not writable. It may be
locked by another process.
I have written as below without given any loops,
 M=[QT;Uod;HNH3];
 xlswrite('Copy of Inlet_Design.xls',M,'Sheet1','D6:D8');

Thank you.
Cheers
Vinz

Subject: Excel xlswrite

From: ImageAnalyst

Date: 24 Jun, 2010 20:34:25

Message: 2 of 2

On Jun 24, 4:19 pm, "Vinz A" <vin...@gmail.com> wrote:
> Hi
>  can anyone please  help me with this error'
>
> Inlet_Design.xls is not writable.  It may be
> locked by another process.
> I have written as below without given any loops,
>  M=[QT;Uod;HNH3];
>  xlswrite('Copy of Inlet_Design.xls',M,'Sheet1','D6:D8');
>
> Thank you.
> Cheers
> Vinz

----------------------------------------------------------------------------------
vinz:
Something else has a hold on it. Is it also open in Excel? Check out
your process list (control-shift-escape). Was Excel open, and maybe
hidden, before you called xlswrite? You can always try to use
"Unlocker" (http://download.cnet.com/Unlocker/
3000-2248_4-10493998.html) to unlock the file or to see what other app
has a lock on it.
-ImageAnalyst

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