is there a way to call functions to appdesigner and obtain same results as i do when calling it on MATLAB editor?
1 回表示 (過去 30 日間)
古いコメントを表示
Abdelmalek Benaimeur
2019 年 2 月 23 日
コメント済み: Walter Roberson
2019 年 2 月 24 日
Hello Folks
I've downloaded a function from this website specialised in Hiererachical Clustering
please see:
this function asks the user to give some inputs and returns 4 outputs including one figure
when i call it on the MATLAB editor it works 100%..
my question is: is there a way to call this function in appdesigner and obtain exactely the same
results (the figure and the other outputs) as I Do when i call it in MATLAB editor ?!,
is there a way to use it wihtout changine it's body?
if there is please tell me how,
0 件のコメント
採用された回答
Walter Roberson
2019 年 2 月 23 日
No. The graphics functions used are not compatible with App Designer .
If I understand the code properly then if you call the function with three outputs then it would not create the graphics and you could create your own . Alternatively you could modify the details of the graphics creation to make them compatible .
1 件のコメント
Walter Roberson
2019 年 2 月 24 日
figure() would have to be changed to uifigure()
Replace the section for setting the window to full screen, with setting the figure WindowState property to 'maximized'
Either have the function Spinner return immediately without doing anything, or else rewrite the function to use uiprogressdlg()
I might have overlooked something else subtle in the code.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!