Vous suivez désormais cette question
- Les mises à jour seront visibles dans votre flux de contenu suivi.
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails.
ylim return type change
19 commentaires
- 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.
Réponses (1)
3 commentaires
Voir également
Catégories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Une erreur s'est produite
Impossible de terminer l’action en raison de modifications de la page. Rechargez la page pour voir sa mise à jour.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)
Asie-Pacifique
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)