Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem using load function with GUI

Status
Not open for further replies.

wombat7

Mechanical
Joined
Feb 22, 2007
Messages
1
Location
US
I have created a GUI that allows a user to input a file path, click an 'Import' button, and load the data into MATLAB for manipulation.

I am having a problem using the load function to import the file. When I call this function, I am getting a 'Attempt to add 'file' to a static workspace' error.

Is there a better way to import the data than with the load function or am I doing something wrong?

My load function looks like the following:

Code:
 load(path)

Where path is the user input for a file path.

Thanks in advance,

Chad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top