【发布时间】:2019-05-13 16:28:37
【问题描述】:
以下是来自 Matlab 的示例代码。它不在 Octave 中运行。代码是:
f = figure;
b = uicontrol(f,'Style','pushbutton');
b.Position = [100 100 50 20];
来自在线文档:https://www.mathworks.com/help/matlab/ref/matlab.ui.control.uicontrol-properties.html
在 Octave 中,我得到:错误:标量不能用 .
必须进行哪些更改才能在 Octave 中运行?
【问题讨论】: