Réponse apportée
How to assign objects to array?
It is possible to create an empty array of specified class using https://www.mathworks.com/help/matlab/ref/empty.html sobj = s...

plus d'un an il y a | 1

| A accepté

Réponse apportée
How to know status of the MATLAB execution process has got completed or not?
Hello, It's been a while since I last did it, if you call matlab.exe with input arguments, I think it closes itself after its f...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Stopping a Matlab code using a push button in appdesigner
Hello, It depends on how your code is written, so I can't provide any code. You can use a state button component. Your code ha...

plus d'un an il y a | 1

| A accepté

Réponse apportée
Graphic Objects Array Items to Text
Hello, Text is a component(object) and it has String property which contains the actual text. Keep in mind that b is an array a...

plus d'un an il y a | 0

Réponse apportée
mlapp won't open, urecognized method, property, or field DesignTimeProperties
Hi, It's not recommended to mess with the app files as Benjamin wrote in the linked post. If you have a technical support avail...

plus d'un an il y a | 1

Réponse apportée
How to delete a row in a editable table in an app?
Hey, idx = app.UITable.Selection(1); app.UITable.Data(idx, :) = []; Selection varies whether you have MultiSelect on or off....

plus d'un an il y a | 0

| A accepté

Question


uitable tooltip for long entries
Hello guys, In uitable component, when there is not enough room for text to display, tooltip will be displayed with the full te...

plus d'un an il y a | 1 réponse | 0

0

réponse

Réponse apportée
App Compiler Additional Settings - Log File with unique name
Hey, you can do the compiling manually in the script or command window using mcc function in which you can supply the log filen...

plus d'un an il y a | 0

Réponse apportée
this is my app designer file
Hi, You have sent the wrong second argument to the imadjust. It is either a vector or 2-by-3 matrix, the line below is adjusted...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Select points in a plot
Hello, It would be the best if you put data tips on the points you want to select then you can get them with these lines dataT...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How to use actxserver create serveral independent COM Object?
Try to save both of the application handles. oMaxwell1 = actxserver('Ansoft.ElectronicsDesktop'); oMaxwell2 = actxserver('Anso...

plus d'un an il y a | 0

Réponse apportée
datatip gives same x value for different samples
Hey Paul, I am using the R2021b and I see the datatips properly, but you can play with the last two lines to get your desired o...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Is there any way to see if the functions I am using in a script/code are included in toolboxes or in the basic Matlab ?
Hello, There is a function for that dependencies.toolboxDependencyAnalysis, however it doesn't return the name of the function ...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
How to use a drop down menu to show an image based on selection.
Hello, I would put those pictures in a cell array images = cell(5,1); images{1} = imread("path"); % and so on Define ItemsDa...

presque 2 ans il y a | 0

Réponse apportée
Create an array from file names to find if any files are missing
Hey, I adjusted Davide's (thanks) code for a little bit more robust solution. clc; clear; files = dir('*.*'); ...

presque 2 ans il y a | 1

Réponse apportée
How can I turn legend on for UIAxes, for only one function?
Hey, I would suggest the following. Create a array of graphic objects with UIAxes you want to do this operation. Use find all, ...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Multiple selection from Dropdown in MATLAB AppDesigner
Hello, there are few options that you can do: Use dropdown to add items to the ListBox component. You would have to change Dro...

presque 2 ans il y a | 1

Réponse apportée
Create an Abaqus material library using MATLAB
Hey, this should work, alter the code as you wish. clc; clear; file = "TestLib.lib"; fileContents = strsplit(fileread(file)...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Create a new tab (window) in app designer while still having the old tab open
Hey, you can create a button that will add a new tab. t = uitab(parent,Name,Value); Where parent is the handle to the existin...

environ 2 ans il y a | 1

| A accepté

Question


Option to confirm tab auto-completion with 'Enter'
Hello, I have changed my preferences related to tab completion which require me to press Enter to autocomplete the variable/fun...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Multiplying panels using a spinner
Hi, You can do that using the Value property of the Spinner component and SelectedTab property of the GroupTab component. Sel...

presque 3 ans il y a | 0

Réponse apportée
GUI element update strategies in App Designer
Hey Pieter, I did recently, something similar. You can create and use the same callback for multiple components. If you can gr...

presque 3 ans il y a | 0

Réponse apportée
Live editor, link variable to control does not appear.
Hi Thomas, It is 2021a feature.. Here's how to do it without variable section. Each line ("code") in the label and value sect...

presque 3 ans il y a | 0

| A accepté

Question


Tiny discussion on good practices in object oriented programming (OOP) through a simple example
Hi guys, I'm interested in finding more about good practices of the OOP programming and titles of decent books for non-programm...

presque 3 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
How can I make components (eg label or list box) visible, depending on the input of an edit field (numeric)?
Hello, Property Visible changes the visibility of the object. app.Label.Visible = 'on'; app.ListBox.Visible = 'on'; Propert...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How can I get more space in the GUI?
Hi, you're a bit unlucky, that feature is available from R2018b. https://uk.mathworks.com/matlabcentral/answers/466402-how-can...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How to save indexes from a MATLAB figure in a matrix manually?
Hello, Here's an extensive answer by Adam that should cover everything you might need with the datatips (if you are able to cre...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 3 ans il y a | 0

Réponse apportée
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...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 3 ans il y a | 0

| A accepté

Charger plus