Effacer les filtres
Effacer les filtres

Open struct field directly with ctrl+d

4 vues (au cours des 30 derniers jours)
Alberto Mora
Alberto Mora le 24 Fév 2018
Hi, suppose that I have a main struct with some fields as the example:
Data.A = [1 2 3];
Data.B = [4 5 6];
Data.C = [7 8 9];
It is possible to open directly "Data.A" with ctrl+d? I tried but Matlab give a errore message (file do not exist). In practice Matlab recognice "Data.A" as a file in the folder and not as a variable in the workspace. For this reason the only way to open "Data.A" is to open "Data" and after that, open A.
Can someone help me?
  1 commentaire
per isakson
per isakson le 25 Fév 2018
AFAIK: No, it's not possible to open directly "Data.A" with ctrl+d

Connectez-vous pour commenter.

Réponse acceptée

Alberto Mora
Alberto Mora le 16 Nov 2018
See answer in comment of Mr. @per isakson

Plus de réponses (0)

Catégories

En savoir plus sur Entering Commands dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by