[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: Is it possible to drag-n-drop data into Octave workspace?

**From**: |
Olaf Till |

**Subject**: |
Re: Is it possible to drag-n-drop data into Octave workspace? |

**Date**: |
Tue, 21 Feb 2017 16:22:46 +0100 |

**User-agent**: |
Mutt/1.5.23 (2014-03-12) |

On Tue, Feb 21, 2017 at 02:16:10AM -0800, Per wrote:
>* I was peeking over his shoulder when he was*
>* highlighting the data in an Excel spread sheet and just copied and pasted it*
>* into the Matlab window and the data showed up in the “Workspace” in the*
>* right format.*
What could work is copying a single column of numerical data. If I
'edit/copy' a single column in gnumeric, and start Octave (text modus)
in a gnome terminal, the following is possible:
First, type a [ :
octave:1> [
then, edit/paste from the terminal menu :
octave:1> [1
>* 2*
>* 3*
>* 4*
>* 5*
>* 6*
then, type ] and <enter> :
octave:1> [1
>* 2*
>* 3*
>* 4*
>* 5*
>* 6]*
ans =
1
2
3
4
5
6
It also works in Octaves graphical interface.
Olaf
--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

**
**`signature.asc`

*Description:* Digital signature