Respondida
Add just one checkbox node to a TREE (app designer)
No. Each type of Tree object supports a different set of properties. For a full list of properties and descriptions for each ty...

4 meses hace | 0

Respondida
Can I Use MinPeakProminence and MinPeakDistance at the same time?
Yeah, sure. It's possible. Take a look at documentation of findpeaks. If you specify a location vector, x, then 'MinPeakWidth'...

4 meses hace | 0

Respondida
Store prime and non-prime numbers in two diferent vectors from a .txt
% x = load('Natural_numbers.txt'); x = [1, 11, 21, 23, 25, 27, 29, 30, 31, 44]; idx = isprime(x); Prime = x(idx) nonPri...

4 meses hace | 0

| aceptada

Respondida
Round to nearest ones place value ex ante
Lim_down = 3700; Lim_up = 3706; x = randi([Lim_down Lim_up]) Lim_center = mean([Lim_down, Lim_up]); if x < Lim_c...

4 meses hace | 0

Respondida
How to save pictures individually from sequence of pictures in its variables.
Hey @Pooria Samandi, just create a cell array "imageArray"... myFolder ='C:\Users\poori'; filePattern = fullfile(myFolder, ...

4 meses hace | 0

| aceptada

Respondida
Indexing through a structure to get subsets of data with no looping
Look... why you don't want to use a loop?! It's something that you can't avoid sometimes. The result you are looking for is weir...

4 meses hace | 0

| aceptada

Respondida
AppDesigner : divided UI code in several .mlapp files
No, it's not possible. But you can use uitabgroup to deal with it.

4 meses hace | 0

Respondida
Make the dropdown already scrolled down to the bottom in app
It's an old question, but maybe this answer helps someone. I don't know which version of Matlab you used, but I just tested in R...

4 meses hace | 0

Respondida
Issue running my own standalone app
It's an old question, but the answer could help someone. I had the same problem with a standalone app that was installed in more...

4 meses hace | 0

Respondida
How can I draw a polar dendrogram over UIAxes in AppDesigner?
Hey @Mohammad Shahbazy, I know that is an old question, but... maybe the answer help others. :) dendrogram only works with old ...

4 meses hace | 0

| aceptada

Respondida
Using the fields of a structure to index through a vector and generate a resulting structure
Hey @Scorp, structfun is the answer for your issue! :) dataArray = [21,22,23,24,25,26,27,28,29,30]; structureOfIndexes.a1 = [2...

4 meses hace | 0

| aceptada

Respondida
How can I properly create an standalone APP which includes python .py scripts?
Look... pyenv will give you the Python environment used to call your .py files. Ok. But... when you run a standalone version of ...

4 meses hace | 0

Respondida
Extract data from UIAxes in AppDesigner
If you are using lines, you just have to call "XData", "YData" and "ZData" of your uiaxes's childrens. For example: >> plot(app...

4 meses hace | 0

Respondida
How can I use html in UItable for draw line??
uitable doesn't have a html interpreter. So... below is my approach to this issue. app.UITable.Data = table(["–––––o–––––"; "––...

4 meses hace | 2

| aceptada

Respondida
UITabGroup titles are clipped
Hey @Dominik Lechleitner, it's not possible, but at the end of the day, why are you trying to do that? Let's do something more b...

4 meses hace | 0

Respondida
How can I move legend in app designer?
Hi @galaxy, just create a handle for your legend. See code attached made on R2021b (if you are working on a different release of...

4 meses hace | 0

Respondida
In appdesigner, is there any way to start with 2x1 panels instead 1x2 under auto-reflow?
Hey @Maruan Alberto Bracci, yeah. It's possible. In this template there is as Grid between the UIFigure and the Panels,, but the...

4 meses hace | 0

Respondida
app designer: how to index through multiple UIAxes
Hey... just put in the startup of your app the code below. app.plotHandles = findall(app.UIFigure, 'Type', 'axes');

4 meses hace | 0

Respondida
Alternative to Using UITable to Display Tables in App Designer
You must use uitable instead of openvar in this "App Designer world". In this world, openvar is going to be useful in debug mode...

4 meses hace | 0

Respondida
How do I get the values from workspace to the app designer table
You could use save and load functions or assignin function (if you want to send data from appdesigner to base workspace). But ma...

4 meses hace | 0

Respondida
Slow plotting in App Designer
Yeah. The interactivity in this new universe of uifigure is still too slow. The simple solution is to use de old Matlab figure. ...

4 meses hace | 0

Respondida
Matlab accuracy (when 1-1~=0)
It's float operation universe. :) w=0.026; b=0.024; i=0.001; w-0.026; b-0.024; i-0.001; Instead of: w == (b+2*i) Use: ...

4 meses hace | 0

Pregunta


Programmatically event in App Designer, is it possible?
I am trying to create an event programmatically in App Designer, like a "PushedButton" or a "ValueChanged". Is it possible? I kn...

4 meses hace | 1 respuesta | 0

1

respuesta

Respondida
Creating Shortcut for Matlab app (mlapp)
No. You have to compile it. And then, during the installation process of your app, you could choose to create a desktop shortcut...

4 meses hace | 0

| aceptada

Respondida
adding trailing 0s to inputted numbers
You have to use strings to control the number of decimals. sprintf('%.1f', 4) sprintf('%.2f', 4) sprintf('%.6f', 4)

4 meses hace | 1

Respondida
Help with Matlab homework quesion
Hi Peter, there are a lot of ways to do the same thing. I wrote in Matlab R2021b one of those ways... and I can't avoid commenti...

4 meses hace | 0

Respondida
Python library compilation error (Python 3.9, MATLAB R2021b)
Hi @Alberto Tellaeche, I was dealing with a similar issue - numpy was the lib that was not running. The solution was create a ne...

4 meses hace | 1

| aceptada

Respondida
Menubar hides and reappears at startup of App Designer App.
It's a bug. So... there are two ways to deal with it: Report the bug! :) Or... you can create your own graphic menu, controlli...

4 meses hace | 0

Respondida
I am getting an error "cannot convert double value to a handle".
You forgot to put the value in the property "Value" of the object... app.TotalInvestment.Value = Amount*(1 + ((Rate*1/100)/nper...

4 meses hace | 0

Respondida
Simple Matlab App Designer application compiled into a stand-alone executable became very slow
Yeah. I had to deal with the same issue. You have to update the graphic driver of your computer and your OS (old versions of Wi...

4 meses hace | 0

Cargar más