Réponse apportée
Trigger event callback from another event callback
You can simply write CheckedNodesChangedFcn(app) within the 'ButtonPushedFcn' callback

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Histogram or bar graph with greater than bin?
Below is a workaround. a=260*rand(1,252); p=histcounts(a,"BinWidth",10,"BinLimits",[0,250],"Normalization","pdf"); figure ...

presque 4 ans il y a | 0

Réponse apportée
how do i put different symbols for 1 matrix in plotting?
av = rand(4,15); plot(1:size(av,2),av(1,:),'rd',1:size(av,2),av(2,:),'cs-',1:size(av,2),av(3,:),'*b:',1:size(av,2),av(4,:),'hg-...

presque 4 ans il y a | 0

Réponse apportée
problem in creating plot from for loop
for t = 1:10 vs(t) = 3*exp(-t/3)*sin(pi*t); %changed vs to vs(t) so it creates a vector array instead of just replacing ...

presque 4 ans il y a | 0

Réponse apportée
where is the fault the code is not running?
clc close all lags = 0.6; k1 = 3; k_1 = 1; k2 = 2.5; k3 = 1; k_3 = 1; k4 = 2; k5 = 1; E1 = 1; E2 = 2; K1 = (k_1+k2)/...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Optimization plot in App Designer
You could get the handle of the axes and transfer the children to the uiaxes in your app. See example code below: fun = @(x)100...

environ 4 ans il y a | 0

Réponse apportée
Slider values from an specific column appdesigner
See app attached. You can add the following: app.MPSlider.MajorTickLabels = categorical(app.Data(app.MPSlider.Maj...

environ 4 ans il y a | 0

Réponse apportée
How to binarize an image using spinner in app designer?
You do not need to define the spinner values like you did here: app.minRedValue = app.MinRed.Value; You can just access the va...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Which image contributes to the maximum intensity projection?
Images=rand(3,10,10); [maxImage index] = max(Images); size(maxImage) imshow(squeeze(maxImage)) index

environ 4 ans il y a | 0

Réponse apportée
how to use gscatter in matlab app designer?
I didn't have an issue using gscatter (see app attached). I used the following commands: gscatter(app.UIAxes,rand(10,1),500*r...

environ 4 ans il y a | 1

Réponse apportée
How can I have a user select multiple options and quantity of each?
You can use inputdlg. If you want to make something more sophisticated, you could create an app with App Designer.

environ 4 ans il y a | 0

| A accepté

Réponse apportée
bar graph with 3 axes
You can use bar3. bar3(rand(10)); xlabel('d'); ylabel('m'); zlabel('p');

environ 4 ans il y a | 0

Réponse apportée
App Designer - Arduino setup in standalone application
Did you follow the instructions here: Create Standalone Applications for Arduino Hardware?

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to resize GUI to full screen in App Designer with all the components maximising in the same ratio?
Have you tried grid layout managers? See also uigridlayout.

environ 4 ans il y a | 0

Réponse apportée
Multi Windows App in Matlab App Designer
I would create 3 different apps. You can make the window's of the app (UIFigures) visible/invisible when you want to. You can st...

environ 4 ans il y a | 0

Réponse apportée
Is it possible to make a hue color scale which can then be converted to RGB?
Have you looked at Colormaps? If so, have you tried adjusting the limits with clim, formerly known as caxis (renamed in R2022a)....

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to make plot change as I move the slider? How to import these values from excel file?
Please see the app attached.

environ 4 ans il y a | 0

| A accepté

Réponse apportée
AppDesigner plot on specific UIAxes from list
If you have a set number of UIAxes, you could use a switch case in a function as such: function foo(ChosenAxes,datax,datay) ...

environ 4 ans il y a | 0

Réponse apportée
How to make slider in APP Designer ?
You could make your own buttons for the slider and create an editfield that interacts with the slider's position. That is what I...

environ 4 ans il y a | 0

Réponse apportée
How to programatically select nodes of an uitree in AppDesigner?
Ron, Please see the app attached. The callback in attach app is: function ButtonPushed(app, event) app.Node....

environ 4 ans il y a | 0

| A accepté

Réponse apportée
how to save a plot with black background/border, white labels and white title to an image file
You could use getframe to capture the axes as an image.

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Exclude rows from table if multiple conditions are met
m = [1 NaN NaN NaN 4 NaN 2 NaN NaN NaN NaN NaN 3 8 ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Adding Polynomials Using App Designer
How did you want your user to input the data? As for the calculations, see below for an example. app.fxEditField.Value = [3 1];...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
How may i fit the app developed in app designer in my window?
If you want the canvas to take up the whole screen, you can edit the WindowState of the UIFigure in AppDesigner with the Compone...

environ 4 ans il y a | 0

Réponse apportée
How to print value in Textbox in app designer
Stephen, Please see the app attached and make sure matlab.mat file you created is in your path before running app.

environ 4 ans il y a | 0

Réponse apportée
How do I change the value of a previous state button to 0 when a new one (out of 10) is pressed?
Barney, See app attached.

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Initialising buttons so that the button text changes when said button is pressed
Barney, Please see app attached. I added a public function as such: methods (Access = public) function func(app,hObjec...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
Plotting multiple data sets on the same polaraxes in AppDesigner
You can still use hold on in App Designer, but you have to specify the axes. properties (Access = private) Pax % P...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
Create a new UIAxes for every new tab in a tab group in app designer
Andrew, Please see the app attached for guidance. Let me know if you have any questions.

environ 4 ans il y a | 0

Réponse apportée
Displaying video in UI axes
Attach is a simple video player app I created. You can look at the code and adjust it to meet your needs.

environ 4 ans il y a | 0

| A accepté

Charger plus