Al momento, stai seguendo questa domanda
- Vedrai gli aggiornamenti nel tuofeed del contenuto seguito.
- Potresti ricevere delle e-mail a seconda delle tuepreferenze per le comunicazioni.
ylim return type change
19 Commenti
- Are you still using r2018a?
- Have you tried running this code on a different Matlab release or a different machine?
- Just to be super clear, is it true that every time you completely restart matlab and run ylim() it always produces a cell output containing a 1x2 vector of accurate y-limit ranges, without exception. Is that correct?
- Can you show us what's in your startup.m file (if you have one)?
- Clear out everything: clear all; close all; clc
- Open rulerFunctions.m: open('matlab.graphics.internal.ruler.rulerFunctions')
- Scroll down to line 119 which should be "return" and place a break on that line.
- From the command window, create an axes and call ylim with an output. axes(); y= ylim;
- Execution should have stop on line 119 in rulerFunctions. What is the value of the variable out just above that line? For me it is a 1x1 cell array containing a 1x2 double vector.
- Press F10 twice to get to the last line of ylim.m (end); What is the value of varargout? For me it is the same, a 1x1 cell array containingn a 1x2 double vector. The double vector should be passed as the output.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270426/image.png)
Risposte (1)
3 Commenti
Vedere anche
Categorie
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia-Pacifico
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)