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:
Error opening .fig files

Subject: Error opening .fig files

From: Susan

Date: 18 Dec, 2012 18:42:09

Message: 1 of 3

Hi all,

I'm running a program which outputs my data as a .fig file and saves it in a folder. However when I go back to check if I can open it ok and carry on I get the following message:

Error using => open at 164
Too many inputs requested. Most liekly casue is missing [] around left hand side that has a comma separated list expansion.

Can anyone tell me what this means?

Thanks in advance.

Subject: Error opening .fig files

From: dpb

Date: 18 Dec, 2012 18:58:39

Message: 2 of 3

On 12/18/2012 12:42 PM, Susan wrote:
> Hi all,
>
> I'm running a program which outputs my data as a .fig file and saves it
> in a folder. However when I go back to check if I can open it ok and
> carry on I get the following message:
>
> Error using => open at 164
> Too many inputs requested. Most liekly casue is missing [] around left
> hand side that has a comma separated list expansion.
>
> Can anyone tell me what this means?
>

Pretty much what it says, probably.

Need to see the specific line of code that created the error so can see
how the actual syntax fails to meet that required.

--

Subject: Error opening .fig files

From: Susan

Date: 18 Dec, 2012 19:10:08

Message: 3 of 3

Thanks for the reply.

I've just spotted the problem; just included this small code.

figlist = findobj('type','figure');
saveas(figlist,fullfile(folder,file_name),'fig');

Cheers!

Tags for this Thread

No tags are associated with 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