Beantwortet
Fast updating of live figures using sliders
Hi, This will return the handle to the curve on the plot. You can use its XData and YData property to update the values quickly...

mehr als 3 Jahre vor | 0

Beantwortet
How I could set up a listener and for an event (new email in my mailbox) in Outlook with MATLAB?
Hey, When numUnreads changes, you can run your function. hOutlook = actxserver('Outlook.Application'); nameSpace = hOutlook...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to assign the value of an ui.control element to a variable in public property in App Designer
Hey, The public access to the property or the method means that if you start your app from the outside, from the Command Windo...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to add author name to cretaed exe file using matlab application compiler?
Hi, I think this is related to the actual application component in the component browser (the topmost entry). Haven't tested it...

mehr als 3 Jahre vor | 0

Beantwortet
How to save variables generated inside for loop into a structure
Hello, Example is here https://uk.mathworks.com/help/matlab/ref/struct.html#btiaelg field1 = 'f1'; value1 = zeros(1,10); fi...

mehr als 3 Jahre vor | 0

Beantwortet
Adding Annotation boxes on multiple plots in subplot
Hi, If you zoom in the picture, you'll see that text is plotted one over another. It happens because parent container is figure...

mehr als 3 Jahre vor | 0

Beantwortet
app designer : Auto-filter-list or Auto-Completion-List
There's one example here https://uk.mathworks.com/matlabcentral/answers/811595-why-is-the-uieditfield-valuechangingfcn-function-...

mehr als 3 Jahre vor | 0

Beantwortet
Big tabs' names in App Designer R2020a
Hi, I have included the grid layout in the attached example showing the grid layout for Panel. You'll get a warning in the comm...

mehr als 3 Jahre vor | 0

Beantwortet
Create a matrix with columns of both datetime and double format
Hi, Use a cell array or a table to do so. % Using cell array {datetime('today'), 5} % Using table dt = datetime('now'); n...

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
Matlab App - Value of numeric field to reset to default starting value if condition not met
Hi Antoine, Assuming you have a simpler app, you can create a property that will hold your default values, for one or more comp...

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
Why is the uieditfield ValueChangingFcn function called twice?
Hey Anais, That's some nice usage of tree component, thanks for that! Here are two lines that you need to change in your code....

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
App Designer - how to vertically align butons/listboxes in panel that resizing does not move boxes to center
Grid layout retains the correct component position.

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Communication between C++ and Matlab
Hello, Scroll down the input arguments, there's an automation option https://ch.mathworks.com/help/matlab/ref/matlabwindows.htm...

mehr als 3 Jahre vor | 0

Beantwortet
Controling Tabs in App Designer
Hello, Tabs are children of the TabGroup component. The latter component has property called SelectedTab which will be helpful....

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How do I correlate a scalar value to a dropdown menu item?
Hello, Leave the Value field empty, it will be the first value of Items. For ItemsData, use a new row to define ItemsData for e...

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
Latex interpreter for "Edit field" label in App Designer
Hi Filippo, It seems like a weird bug, but this code makes it work. If you add drawnow in startupFcn, the FontSize can be chang...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
extract data from cell matrix to matrix
Hi, B = cell2mat(A);

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
How can I restrict a text edit field to only specific characters?
Hi David, I haven't used ValueChangingFcn, but something like this should probably work. allowedChars = 'mMwW '; if ~any(ap...

mehr als 3 Jahre vor | 0

Beantwortet
choosing an active component in GUI
Hi Stepan, You can control the active component with Tab (next), Shift+Tab (previous). The order of the components is the same ...

mehr als 3 Jahre vor | 0

Beantwortet
Error using the command: set(ai_device, 'SamplePerTriger', 1000)
Hi, What's the output of properties(ai_device) Is it maybe SamplePerTrigger?

mehr als 3 Jahre vor | 0

Beantwortet
How to make a button in AppDesigner launch a matlab script ?
Hello, See run function.

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
App Designer returning Value in EditField
Hi, app.aDropDown.Value is one of the values in Items (if ItemsData is empty), therefore it's a character array. if you set I...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to add additional rows to uitable?
Hey, 1st option: KeyPressFcn callback, see UITable callbacks. Create a CellSelectedFcn callback first that saves selected cel...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
how to solve this error horzcat Dimensions of matrices being concatenated are not consistent?
Hi Miguel, When you type [var1 var2], you are concatenating horizontally, since your variables have different number of rows, y...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to position and resize the list box window?
Hi David, a) ListSize property does what you would like to do. These numbers are actually pixels listdlg('SelectionMode','sin...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Writing a structure to a txt file
Hello, fieldnames function is useful in this case. There is maybe a better or/and simpler way to do this. However, there seems ...

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
Unrecognized function or variable in app designer
Hello, I am not to familiar with Simulink files, but you can try following: If you are able to save the needed variables into ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Error when trying to set UITable columnwidth to 'fit' in App Designer
Hi, Looks like this is 2020b feature. If you want to see to which release the documentation belongs, see the top right corner...

mehr als 3 Jahre vor | 0

Beantwortet
Alternative to system function
Hello, you must ensure that each of your workers gets their parameters correctly and that .exe program utilise 1 core or more ...

mehr als 3 Jahre vor | 0

Beantwortet
How delete panel in app design
Hi, I don't think it's possible to go back after you converted your app to 2 panel app. Once you do convert it, new app will be...

mehr als 3 Jahre vor | 0

| akzeptiert

Mehr laden