我的MATLAB使用​不了滑动条,应该是缺​少uislider函​数,但是不知道怎么修​补

3 visualizaciones (últimos 30 días)
Meng Ren
Meng Ren el 20 de Abr. de 2022
Respondida: 埃博拉酱 el 24 de Abr. de 2022
运行的代码挺简单的,就三行:
fig = uifigure;
pnl = uipanel(fig);
sld = uislider(pnl,'Position',[50 50 150 3]);
但是运行不出来,会报错:

Respuestas (1)

埃博拉酱
埃博拉酱 el 24 de Abr. de 2022
uislider是R2016a推出的函数,你是不是MATLAB版本太老?
如果版本没问题就是安装损坏了,卸载MATLAB重装吧

Categorías

Más información sobre 安装和许可简介 en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!