Is there a keyboard shortcut to get the info about a variable in the editor?

4 visualizzazioni (ultimi 30 giorni)
If I wanna do this now in the editor, I need to put the cursor onto the variable in order to get this drop down menue containing infos (size, type etc..)
  2 Commenti
Josch123
Josch123 il 15 Nov 2017
It's ok but as I work with 2 screens I have the editor left and the workspace right, meaning that I have always to look right and then find the variable in the workspace. I like the quick info you get putting the cursor onto it in the editor but for ergonomical reasons I want to use as less mouse as possible!

Accedi per commentare.

Risposte (2)

Image Analyst
Image Analyst il 15 Nov 2017
Click on the variable in the editor and type control-d. It will bring it up in the variable editor. Is that what you mean?
  6 Commenti
Image Analyst
Image Analyst il 29 Nov 2017
Instead of the mouse, use the keyboard to navigate the cursor so that it is within the variable you want to see the value(s) of. Then type control-d on the keyboard.

Accedi per commentare.


Jan
Jan il 15 Nov 2017
Modificato: Jan il 15 Nov 2017
What should the shortcut do? Without pointing the mouse on the wanted variable, it is unknown, which variable you want to display. But if you point on the wanted variable, the information is shown already in the tooltip menu.
Maybe moving the workspace window beside your editor is a fast solution.
[EDITED] I can undock the command window and dock the editor and the Workspace browser into Matlab's mainframe. Maybe this is an option.

Categorie

Scopri di più su Interactive Model Editing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by