Feeds
已回答
Why do I get a warning that the code coverage result is empty because the file is invalid?
After much troubleshooting, I was able to avoid this warning by making sure all files in my directory were free of syntax errors...
Why do I get a warning that the code coverage result is empty because the file is invalid?
After much troubleshooting, I was able to avoid this warning by making sure all files in my directory were free of syntax errors...
2 months 前 | 1
提问
Reduce width of git portion of Current Folder pane
Can I give more space to file names, and less space to the small git status icon? See attached screenshot. I don't see any way...
2 months 前 | 1 个回答 | 1
1
个回答提问
How to validate that one datetime is greater than another
My class takes two datetimes startTime and endTime as input arguments. I would like to use argument validation to force endTime...
3 months 前 | 3 个回答 | 0
3
个回答提问
Programmatically close App Designer app after running it for a unit test
I need to run mlapp myApp for a unit test, but after the test I want the app window to be closed. The only way I know to do thi...
3 months 前 | 1 个回答 | 0
1
个回答提问
How to add a mini-script to the toolbar
How do I add a custom tool to the Matlab toolbar? I was in a Matlab course and the instructor had us add a tool to the toolbar ...
4 months 前 | 1 个回答 | 0
1
个回答提问
Why do I get a warning that the code coverage result is empty because the file is invalid?
I'm trying to add code coverage to my unit test suite. There is one .mlapp file that gives this warning: Warning: Coverage res...
9 months 前 | 2 个回答 | 0
2
个回答提问
overlapping images in grid layout
I am trying to create a solitaire card game app (think FreeCell) using App Designer. To graphically display the tableau, my idea...
11 months 前 | 1 个回答 | 0
1
个回答提问
App Designer app fails to open on first try (MacOS, R2023a)
When I try to open an App Designer app, a blank App Designer window opens but the app doesn't load until I try a second time to ...
12 months 前 | 1 个回答 | 0
1
个回答提问
Change MATLAB App window title
I created an app (in MATLAB R2023a) using App Designer. I want to change the UI Figure window title from "MATLAB App" to a cust...
1 year 前 | 1 个回答 | 0
1
个回答提问
datetime default format by version and operating system
On my Mac running R2022a, if I enter datetime('now') without specifying any format, I get 2023130090948. That is, it's 2023, th...
1 year 前 | 1 个回答 | 0
1
个回答已回答
Zero out values in multiple fields of a struct
I have found my own answer, but there's probably a more elegant way. fn = fieldnames(S); % array of S field names includin...
Zero out values in multiple fields of a struct
I have found my own answer, but there's probably a more elegant way. fn = fieldnames(S); % array of S field names includin...
1 year 前 | 0
| 已接受
提问
Zero out values in multiple fields of a struct
Suppose I have S.ABC0500 = struct('Keys',[1:9],'Values',rand(1,9)); S.ABC0800 = struct('Keys',[1:9],'Values',rand(1,9)); S.AB...
1 year 前 | 2 个回答 | 0
2
个回答提问
Create a series of variables with names that include numbers
I need to create some fake data for testing a program. The fake data is a series of variables with names like VAR004300, VAR004...
1 year 前 | 2 个回答 | 0
2
个回答提问
Best way to get date and time inputs from user and save as a datetime variable
My App Designer app allows the user to input a date and time range (start date, start time, end date, end time). I have 2 date ...
1 year 前 | 2 个回答 | 0
2
个回答已回答
Error: class name and filename do not agree, after changing the name of a .mlapp
What worked for me is to open and save the .mlapp file after renaming it.
Error: class name and filename do not agree, after changing the name of a .mlapp
What worked for me is to open and save the .mlapp file after renaming it.
1 year 前 | 0
提问
How to determine if the user closed the app window?
I have a script that calls an App Designer mlapp as an interface for a user to enter information. How can I get my main script ...
1 year 前 | 1 个回答 | 0
1
个回答提问
prompt a GUI user to enter different values
I am using App Designer to write a GUI wrapper for an existing app. The app should load some data based on the user input. If ...
1 year 前 | 1 个回答 | 0