Ahora está siguiendo esta publicación
- 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.
I noticed a bunch of threads discussing multi-slide slider objects, but couldn't find any that suited my needs. I've tested this code on multiple platforms, but since this is my first posting attempt there may be incompatibilities - feel free to comment and let me know if you run into these or any other issues.
For a basic demonstration, create the following function and place it in the same folder as superSlider:
_______________________________________________________________________________
% Demonstration of the superSlider "object". This function generates a new randomly oriented slider each time the callback is executed.
function sliderCallbackTest(hObject, eventData)
n = .1 + .8*rand(1); %random location for the new slider
% Recursive callback:
slider11 = superSlider(gcf, 'numSlides', 2,'controlColor',[.5 .1 .5],...
'position',[n .05 .05 .7],'stepSize',.1,...
'callback',@sliderCallbackTest);
Citar como
Danielle Ripsman (2026). superSlider (https://es.mathworks.com/matlabcentral/fileexchange/43285-superslider), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspiración para: JuGEx - Julich-Brain Gene Expression
Información general
- Versión 1.2.0.0 (5,81 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
| Versión | Publicado | Notas de la versión | Action |
|---|---|---|---|
| 1.2.0.0 | Another (larger) callback fix, to conform with MATLAB's standard callback format: function(hObject, eventdata, arguments), where the 'callback' parameter is set using the value: {@function, arguments} or just @function |
||
| 1.1.0.0 | Fixed a small callback bug in line 537 of code (4th last line).
|
||
| 1.0.0.0 |
