Doesn't work brush on appdesigner aplication

1 回表示 (過去 30 日間)
natalia Opazo
natalia Opazo 2022 年 11 月 23 日
回答済み: Jiri Hajek 2022 年 11 月 24 日
I'm trying to create a brush into appdesigner and I did it (as "mlapp" it works). However, when I transform it from "mlapp" file into an application ".exe" it doesn't work. For instance, In the following example, the scatter is plotted but the brush is missed (the icon brush doesn't appear or if it does, it doesn't work). I have tried several examples and I have the same problem when the "exe" file is created.
For instace:
app.UIAxes = uiaxes(app.RightPanel);
x = rand(20,1);
y = rand(20,1);
scatter(app.UIAxes,x,y)
app.UIAxes.Children.BrushData
In this case, the brush icon appears but if I push it, it doesn't work (on the "exe" file). On "mlapp" it works.

回答 (1 件)

Jiri Hajek
Jiri Hajek 2022 年 11 月 24 日
In general, not all functions and features of MATLAB that are available in interactive mode, are also available in deployed apps. See documentation on deployable features here.

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by