Beantwortet
Changing range voltage for NI acquisition : how to solve : Warning: Cannot support range of -5.0 to +5.0 Volts. Range set to -10 to +10 Voltt ?
Hello! It's just a warning, it will work, range is still in between -10V and 10V. Why wouldn't you utilize the full range of yo...

etwa 2 Jahre vor | 1

| akzeptiert

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

etwa 2 Jahre vor | 1

Beantwortet
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...

etwa 2 Jahre vor | 1

Beantwortet
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...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

etwa 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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(...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 2 Jahre vor

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

mehr als 2 Jahre vor | 1

| akzeptiert

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

mehr als 2 Jahre vor | 1

Beantwortet
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...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
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.

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
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.

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 1

Beantwortet
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));...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
DataAcqusitionToolbox write has a delay
Try preload

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 3

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 1

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden