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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 1

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

Answered
(App designer) How can I display all the graphs that I am plotting in a for loop?
Hello, You can set up your code into calculating your results, getting them all in a single matrix or a structure or a table an...

3 years ago | 1

Answered
Matlab Array indexing and slicing
Hi, The first line replaces a subset of Ubc, with indices being replaced (2:41, 2:41), where matrix U is of the same size. You ...

3 years ago | 1

Answered
Placing a figure into word and specifiying a position using ActiveX
Hi, Selection points at current location where the text is going to be displayed, you have already typed something on first pag...

3 years ago | 0

Answered
Change App Display Button in Matlab
When you click the button to export app to toolbox, in the window that opens there's an area that you should click to add the im...

3 years ago | 0

| accepted

Answered
MATLAB App - UIAxes Array Incorrect
Hi, XLim is the property that you need to adjust in the code, or in the component editor. app.UIAxes.XLim = [0 12];

3 years ago | 0

| accepted

Answered
Saving feature in MATLAB App designer
Hello, Since app can't be saved, you will need to save the quiz data into the .mat file, and load it next time the app is opene...

3 years ago | 0

Answered
Toggle selected option of uiconfirm
Hi, to navigate, use the Tab select next or Shift+Tab to go select previous component. I am not sure whether there exists an op...

3 years ago | 0

Answered
Rows Into Single Column
Hi, This will do it. file = 'imagelist thinned.txt'; tableOpts = detectImportOptions(file); tableOpts.VariableTypes = repm...

3 years ago | 0

Answered
Recover former state of Matlab Editor
Hi Matt, Actually, Yair Altman has already mentioned this https://undocumentedmatlab.com/articles/recovering-previous-editor-st...

3 years ago | 2

| accepted

Answered
Scroll() not working on text area
Hi, scrolling in text area is added in 2020b.

3 years ago | 0

| accepted

Answered
Multiple values in EditField?
Hello, Yes, you can. You'll have to use the str2num function to get the numeric array from the Edit Field (text) component. >>...

3 years ago | 0

| accepted

Answered
creating Tables in word using actxserver
Hello, These two lines add the borders to your table. tableObj = word.ActiveDocument.Tables.Item(1); tableObj.Borders.Enable...

3 years ago | 1

| accepted

Answered
Matlab jokes or puns
Younger generations will appreciate this.

3 years ago | 0

Answered
How to programmatically change the label text of a matlab.ui.control.Knob (or other ui.conntrol)
Hi, Knob component actually consists of two components. If you right click on Component browser, there's an option to include c...

3 years ago | 0

| accepted

Answered
storage of parameters edit fields( numeric) in App designer
Hello again, You can use load function to load the file in startupFcn, an example: function startupFcn(app) data = load('...

3 years ago | 1

| accepted

Answered
how can I store the values ​​that the user enters in an uieditfield?
Hello, You can set your ef to be the property of the app. % This is in properties block properties(access = private) ef ...

3 years ago | 0

| accepted

Answered
Radiomics - github code https://github.com/mvallieres/radiomics
Hi Philip, The code should work, does it? Edited as per Walter's note When you use dir specifying folder as an input argument...

3 years ago | 0

| accepted

Answered
Line graphs and Scatter plots
Hello, The command 'hold on' will retain the existing plots on axes. scatter() hold on plot()

3 years ago | 1

| accepted

Answered
How can I copy 1 template Excel sheet into multiple Excel sheets in the same workbook? Using actXserver
Hello Steven, % Create an Excel object. hExcel = actxserver('Excel.Application'); % Open the worksheet. Workbooks = hExcel.W...

3 years ago | 0

| accepted

Load more