Answered
NI USB-6001 background analog output
Use the appropriate function for background data acquisiton - https://uk.mathworks.com/help/releases/R2018b/daq/ref/startbackgro...

12 months ago | 1

Answered
Is it possible to disable/change the default selection logic of CheckBoxTree?
As it is now, it is impossible. Parent nodes will always be selected if all child nodes are. I have made a callback function and...

1 year ago | 1

Answered
Current figure text interpreter
Hi, here's an example fig = figure(); subplot(2,1,1); x = linspace(0,10); y1 = sin(x); plot(x,y1) legend("ax_1"); subplot...

1 year ago | 0

| accepted

Answered
Retrieve Compiled App Project Info at Runtime
I haven't seen a property that says anything about app version, however, it's possible to get it if you extract the .mlapp file ...

1 year ago | 0

Answered
EventListener for plot's YLim property
Example below fig = uifigure(); ax = uiaxes(fig); plot(ax, magic(3)) propListener = addlistener(ax, 'YLim','PostSet',@(src, ...

1 year ago | 0

Answered
How to run loop until user enters text in the command window? (without using the input function)
Undocumented and subject to change but it works, at least when it was tested back then https://uk.mathworks.com/matlabcentral/an...

1 year ago | 1

| accepted

Answered
Importing Solidworks 2D Geometry into MATLAB
Here is a SolidWorks macro, you have to select the edge and run the macro. Hopefully it works, otherwise you need to tell me wha...

1 year ago | 0

Answered
How to change scatter plot shapes for multiple y variables to help differentiate them?
You can specify the marker type https://uk.mathworks.com/help/matlab/ref/scatter.html#btrli6p-1_1 You can check outboxchart too...

1 year ago | 1

| accepted

Answered
Greybox Modelling Resources and Understanding Examples
Hey! There aren't many people dealing with this toolbox here. I will try to shed some light to it as I dealt with this for a li...

1 year ago | 0

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) = ...

1 year 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...

1 year 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(...

1 year 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...

1 year 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...

1 year 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...

1 year ago

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

1 year 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.

1 year 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...

1 year 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.

1 year 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.

1 year 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...

1 year 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...

1 year ago | 0

| accepted

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

1 year 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...

1 year 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 | 1

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

Load more