Answered
Unable to open file as a workbook excel 97
Moving conversation here as an answer. For the reference, read the comment section. hExcel = actxserver('Excel.Application'); ...

5 years ago | 1

| accepted

Answered
App Designer: Display content of a txt file on a text area
Hello, Try this and see if the output is correct. app.TextString = fileread('file.txt'); app.TextArea.Value = app.TextString...

5 years ago | 1

Answered
Open Application with MATLAB
Hi Sebastian, you're supposed to provide full path to the executable file when using system command. system("C:\Program Files\...

5 years ago | 1

| accepted

Answered
How can I plot and display image in MATLAB App Designer UIAxes?
Hello, For your first problem, use numeric Editfield components, for those you don't need to use str2double. You should've seen...

5 years ago | 3

Answered
How to enter Matrix in App designer matlab
Hello, There's not a really an easy/convenient way to input the matrix. You can use the EditField Text component and use str2nu...

5 years ago | 0

Answered
Plotting in Matlab appdesigner
Hello, Try this stem(app.UIAxes, n_range,xn); Edit: Both of these functions work, actually, the error is in writing a callbac...

5 years ago | 0

| accepted

Answered
how to make Reset Button in app designer
Hi, you want to set the character array to a numeric field and that doesn't work. Numeric EditField components can't have an em...

5 years ago | 0

Answered
wordpad automation file printing
Hi Alain, here's the partial answer, see the Internet Explorer way.The issue is that you'll get the printer dialog box in which...

5 years ago | 0

| accepted

Answered
Saving Entries to Editable UI Table as a Variable in the Workspace
Hello, This line makes you an error, UITableLvlg is a table and it doesn't have Value property. app.LvlgData = app.UITableLvlg...

5 years ago | 0

Answered
Standalone application reported as dangerous by the antivirus.
Posting this as an answer. When you compile the app, you probably put your name into publisher field. Defender checked if that ...

5 years ago | 0

Answered
App design, camera preview
Hi Leonor, you can check TMW's YouTube channel for example on this, title of the video is: Building MATLAB Apps with App Desi...

5 years ago | 0

Answered
Update Matlab App Designer App
Hi, see step 2 of this question. appHandle = findall(allfigs, 'Name', 'MyApp'); % handle to the figure of the app app = get(a...

5 years ago | 0

| accepted

Answered
How do I create a scrollable app using appdesigner?
Hello, click your main UIFigure component, under Interactivity, find property Scrollable.

5 years ago | 1

| accepted

Answered
How to reorder project shortcuts?
Hello, It looks like there are not sorting settings. You can create more shortcut groups or you can add your files to Favorite ...

5 years ago | 0

| accepted

Answered
When I package my script in app design,the third step is always wrong.
You have compiled a big file with your app. It's just a warning due to file size, your installer is zipped so it takes less spac...

5 years ago | 0

| accepted

Answered
Matlab App Desinger: How to update a figure with button
Hi, the best way to add/modify the plot data is by XData, YData, ZData, or XDataSource, ... properties. Probably, by changing t...

5 years ago | 1

| accepted

Answered
Slider which controls a bar plot
Hello, here's an answer to a very similar question. https://www.mathworks.com/matlabcentral/answers/733973-adding-slider-to-he...

5 years ago | 0

Answered
when I use app designer, it tells me error of 'Value' must be a character vector or a string scalar.
Hi, z1 is a table, and Value doesn't accept tables. You can create a UITable component and just assign z1 to it app.UITable.Da...

5 years ago | 0

| accepted

Answered
Matlab GUI design. Apply logical indexing expression to a loaded file using input values
Hi Alessandro, yes, these callbacks do not communicate. You can solve this in a much simpler way, remove 'to' and 'from' callba...

5 years ago | 0

Answered
GUI error in push button
Properties are case-sensitive. app.LatEditField.Value=lat

5 years ago | 0

| accepted

Answered
Single Selection in Uitable
Hi, you can't force it, but you can validate the selection. Event.Indices returns n by 2 array (row, column). If all elements ...

5 years ago | 0

Answered
App Designer: Need to save an entire Tab (Group of graphs with some parameters) to an Image
In the comment section there is information on placing annotation objects in UITab and getting screenshot of UITab component.

5 years ago | 0

| accepted

Answered
Matlab app developed with appdesigner usable in MATLAB Online?
Hi Stuart, the best is to discuss your case with support.

5 years ago | 0

Answered
Prompting users to enter an array to plot a stem plot in matlab app designer
Hello, you can use EditField(Text) component where user would write [1, 2, 3] into the box, and when you'd calculate stuff usin...

5 years ago | 1

| accepted

Answered
How to indicate there was an error in the code in App designer stand alone app?
Hello, As Adam said, it's not so easy. You can use a TextArea and Button component to trigger the callback to load the logfile ...

5 years ago | 0

Answered
Adding slider to heatmap
Hello, I modified your code a little bit. Uislider can only be used on uifigure components. Whenever you're using uifigure you ...

5 years ago | 2

Answered
How to delete a plotted curve which mouse clicked?
Hi, There's a button on the figure frame, second from the right, it says 'Edit Plot'. Click it, and then click the curve and pr...

5 years ago | 1

| accepted

Answered
Dynamic Drop Down Menu
Hello, Variable filename contains list of all files you're analysing? You need to generate the cell of character arrays for It...

5 years ago | 0

| accepted

Answered
trouble opening web pages in the system browser
Hi, This should work web("C:\temp/_instruction_set.html#instr_NO_operation_option")

5 years ago | 0

Answered
[Appdesigner] Can I colour specific letters in label?
I have taken a look at properties of Label component, and it seems that it doesn't support such things. You can create uilabel c...

5 years ago | 0

| accepted

Load more