How do I delete an element from a structure?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Douglas Alves
el 29 de Mayo de 2014
Comentada: Douglas Alves
el 29 de Mayo de 2014
I have this
k.range = [-pi/4 pi/2] ;
k.init = sqrt(2)/2 ;
k.options = odeset('Events',@mystopper);
suppose I want to delete k.options how do I do it?
I found nothing in doc structure...
0 comentarios
Respuesta aceptada
Mischa Kim
el 29 de Mayo de 2014
Editada: Mischa Kim
el 29 de Mayo de 2014
k = rmfield(k,'options');
Más respuestas (0)
Ver también
Categorías
Más información sobre Structures en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!