Answered
Read individual cells from excel and write into excel
Try this clear; files = dir("*.xlsx"); idx = contains({files.name}, "~"); % removes open Excel files from list files(idx) = ...

10 months ago | 0

Answered
How can you prevent axis labels from having uneven spacing from the axis
Sometimes you have to let things be imperfect. Also, put down that magnifier in the drawer. Joke aside, try Horizontal Alignmen...

10 months ago | 0

Answered
Use splittapply with division
Hey, is this what you are looking for? load D1990.mat [group1, ID] = findgroups(D1990new.gvkey); y = splitapply(@(x) {x./x(...

10 months ago | 0

| accepted

Answered
How to plot the distance between two curves
% Gegebene Daten x = [29.069, 44.395, 59.528, 74.76, 90.036, 150]; y = [0.07091, 0.076187, 0.081665, 0.087588, 0.093687, 0.119...

10 months ago | 1

| accepted

Answered
How do I register/record analog input using a DAQ device?
How does your saveData function look like? Most likely, you need to open your file in append mode. Every time you write, data ju...

10 months ago | 0

| accepted

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

10 months ago

Answered
How to save oullook email as text format
Hi, objol = actxserver('outlook.Application'); objNameSpace = objol.GetNamespace('MAPI'); objInbox = objNameSpace.GetDefa...

10 months ago | 1

| accepted

Answered
Unrecognized method, property, or field 'Value' for class 'matlab.ui.control.Button'.
Correct property that you are looking for is Enabled, instead of Value.

10 months ago | 1

Answered
I'm trying to use the findpeaks function in a for-loop for a large array and struggling to generate multiple outputs
Hey, If I understood correctly your question, you should use a cell array due to numeric array limitations which is that numeri...

10 months ago | 0

| accepted

Answered
How to limit editfield length and auto shift cursor in App Designer
MATLAB now has a focus function since R2022a that does exactly what you want.

11 months ago | 1

| accepted

Answered
Appdesigner Numeric Edit Field value is displayed different when user tries to edit
Hi, Just use round function on the user input, Event.NewData IIRC.

11 months ago | 0

Answered
Copy 3 UIaxes into one figure
Hey, Solution for combining the image is below. If you need some space in between, you can add white space, by creating array t...

11 months ago | 0

Answered
UIAxes - Remove Brushed Data through button click Callback.
Here is an example of setting brushed data to NaNs, now you have to incorporate this in the callback. fig = uifigure(); ax = u...

11 months ago | 0

| accepted

Answered
problem to combine string
str = ["Loop", "1*", "0.3266"]; strNew = join(str)

11 months ago | 0

| accepted

Answered
Is it possible to disable parent node selection in a uitree?
Hey, I hope you have sorted it out, however, here's an example in which SelectionChangedFcn is used to remove the nodes which h...

11 months ago | 1

Answered
Extract image from multi-image figure window?
Hey, fig = gcf; % Current figure ax = findall(fig, 'type', 'axes'); for i = 1 : numel(ax) figH = gobjects(1, numel(ax));...

1 year ago | 1

| accepted

Answered
DataAcqusitionToolbox write has a delay
Try preload

1 year ago | 0

Answered
Change MATLAB App window title
You can do it in two ways: Programatically: find the handle of your UIFigure component in the component browser and type in you...

1 year ago | 3

| accepted

Answered
How to find which toolboxes are required for compiled standalone app?
Hello, Are you able to put your codes in a project? There is a Dependency Analyzer app which you can run and it tells you the r...

1 year ago | 0

Question


Not your typical vertcat error. Weird behaviour with it.
Hey, I am not sure what's going on with editor, but I am having issues in understanding why does dxdt does not work properly. T...

1 year ago | 1 answer | 0

1

answer

Answered
App Designer duplicates a component many times at start up
It is a known issue that doesn't get resolved easily by us. Contact support to help you fix it.

1 year ago | 0

| accepted

Answered
How to create multiple UIfigures in appdesigner
Hey, Building multiple applications is your way to go. There is an option of using input arguments for the app and that way you...

1 year ago | 0

| accepted

Answered
UITable scrollbar to the button
There is a scroll function, however, scrolling a UITable component is available from R2021a.

1 year ago | 0

| accepted

Submitted


DAQx
MATLAB application for data acquisition with NI devices

1 year ago | 8 downloads |

Thumbnail

Answered
How to assign objects to array?
It is possible to create an empty array of specified class using https://www.mathworks.com/help/matlab/ref/empty.html sobj = s...

1 year ago | 1

| accepted

Answered
How to know status of the MATLAB execution process has got completed or not?
Hello, It's been a while since I last did it, if you call matlab.exe with input arguments, I think it closes itself after its f...

1 year ago | 0

| accepted

Answered
Stopping a Matlab code using a push button in appdesigner
Hello, It depends on how your code is written, so I can't provide any code. You can use a state button component. Your code ha...

1 year ago | 1

| accepted

Answered
Graphic Objects Array Items to Text
Hello, Text is a component(object) and it has String property which contains the actual text. Keep in mind that b is an array a...

1 year ago | 0

Answered
mlapp won't open, urecognized method, property, or field DesignTimeProperties
Hi, It's not recommended to mess with the app files as Benjamin wrote in the linked post. If you have a technical support avail...

1 year ago | 1

Answered
How to delete a row in a editable table in an app?
Hey, idx = app.UITable.Selection(1); app.UITable.Data(idx, :) = []; Selection varies whether you have MultiSelect on or off....

1 year ago | 0

| accepted

Load more