Thread Subject:
convert .m to .fig

Subject: convert .m to .fig

From: Regina

Date: 18 Jun, 2009 09:42:01

Message: 1 of 4

hi!

can anyone help me with this.
can i convert a .m file to .fig
it was made in matlab guide but i only have the .m file.
i want to have the .fig file!

thanks!

Subject: convert .m to .fig

From: us

Date: 18 Jun, 2009 09:54:02

Message: 2 of 4

"Regina " <velasquezregina@rocketmail.com> wrote in message <h1d259$3uk$1@fred.mathworks.com>...
> hi!
>
> can anyone help me with this.
> can i convert a .m file to .fig
> it was made in matlab guide but i only have the .m file.
> i want to have the .fig file!
>
> thanks!

one of the solutions

% 1) run your m-file
     fout='foo.fig'; % <- your fig-name...
     saveas(gcf,fout);
     delete(gcf);
     open(fout);

us

Subject: convert .m to .fig

From: Regina

Date: 18 Jun, 2009 11:00:06

Message: 3 of 4


>
> one of the solutions
>
> % 1) run your m-file
> fout='foo.fig'; % <- your fig-name...
> saveas(gcf,fout);
> delete(gcf);
> open(fout);
>
> us

hi!

i was able to convert it but when i run the .fig not all functions/ buttons are working.
is there any solutions to this?

thank you very much!

Subject: convert .m to .fig

From: Regina

Date: 18 Jun, 2009 11:04:01

Message: 4 of 4


>
> % 1) run your m-file
> fout='foo.fig'; % <- your fig-name...
> saveas(gcf,fout);
> delete(gcf);
> open(fout);
>
> us

i've seen the problem already. it is like a print screen of the .m file that was run.
it means that not all the buttons are going to work or show .fig.
how can this be fixed?

thanks!

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
open us 18 Jun, 2009 05:59:08
saveas us 18 Jun, 2009 05:59:08
code us 18 Jun, 2009 05:59:08
guide regina 18 Jun, 2009 05:44:02
fig regina 18 Jun, 2009 05:44:02
m regina 18 Jun, 2009 05:44:02
rssFeed for this Thread

Contact us