Thread Subject:
Workspace problems

Subject: Workspace problems

From: Jeanette

Date: 1 Dec, 2010 18:44:08

Message: 1 of 2

Hi. I've been having this problem with the workspace. If I run a '.m' file, the workspace does not show any of the variables. If I just type equations in Matlab (not executing from a .m file) the workspace sees them. Also, once a '.m' file runs and I type any of the variables, it does not have them defined. The .m files run fine otherwise. What to do to make the workspace see the variables from .m file code, and be able to retrieve the variable values once the '.m file is done running?

Subject: Workspace problems

From: Sean de

Date: 1 Dec, 2010 19:01:07

Message: 2 of 2

"Jeanette " <jeanette_hariharan@yahoo.com> wrote in message <id651o$lcc$1@fred.mathworks.com>...
> Hi. I've been having this problem with the workspace. If I run a '.m' file, the workspace does not show any of the variables. If I just type equations in Matlab (not executing from a .m file) the workspace sees them. Also, once a '.m' file runs and I type any of the variables, it does not have them defined. The .m files run fine otherwise. What to do to make the workspace see the variables from .m file code, and be able to retrieve the variable values once the '.m file is done running?

The mfiles are likely functions and thus they don't return the variables to the workspace unless told to do so.

>>doc function

For a better understanding

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
output arguments Sean de 1 Dec, 2010 14:04:46
function Sean de 1 Dec, 2010 14:04:46
reference Sean de 1 Dec, 2010 14:04:46
variables Jeanette 1 Dec, 2010 13:49:07
workspace Jeanette 1 Dec, 2010 13:49:06
rssFeed for this Thread

Contact us