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:
How to attach variables in a dataset to the current workspace?

Subject: How to attach variables in a dataset to the current workspace?

From: gaosanyong@gmail.com

Date: 24 May, 2012 05:00:05

Message: 1 of 1

Hi all,

As you may know, the Matlab statistics package has been improved significantly recently. Now, it is somehow similar to R, which makes data analysis much more convenient than before.

For statistical analysis, the basic data organization form is a dataset array. However, not all functions support dataset array. In R, a command "attach" can be called to attach the variables in a dataset to the current workspace. Namely, if an "x" is a variable contained in the dataset "ds". After calling "attach(ds)", "x" also appears as an independent variable in the current workspace. I am wondering whether there is a similar Maltab command that achieves this goal.

Thanks in advance for your help.

Regards,
Ye

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