Skip to content

Instantly share code, notes, and snippets.

@l337quez
Created July 14, 2015 21:51
Show Gist options
  • Save l337quez/1cd2d44660d351680faf to your computer and use it in GitHub Desktop.
Save l337quez/1cd2d44660d351680faf to your computer and use it in GitHub Desktop.
Guardar un vector string en variables
%Se tiene un vector llamado VECTOR y guardaremos en diferentes variables cada uno de sus campos
VECTOR = ['America';'Europa';'Asia'];
variable1=vector(1,:), % Asignanamos 'America' a variable1
variable2=vector(2,:), % Asignanamos 'Europa' a variable2
variable3=vector(3,:), % Asignanamos 'Asia' a variable3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment