Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
ylim return type change
19 comentarios
- 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)
Respuestas (1)
3 comentarios
Ver también
Categorías
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- 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-Pacífico
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)