Community Profile

photo

Mario Malic


Last seen: 4 Tage vor Aktiv seit 2019

Mechanical Engineer Professional interests: CAx, Finite Element Analysis, Optimization Methods

Programming Languages:
Python, C, MATLAB, Visual Basic
Spoken Languages:
English

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • 12 Month Streak
  • Pro
  • Promoter
  • Introduction to MATLAB Master
  • First Submission
  • GitHub Submissions Level 1
  • Knowledgeable Level 5
  • First Review
  • Revival Level 2
  • Thankful Level 3
  • Commenter

Abzeichen anzeigen

Content Feed

Anzeigen nach

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

17 Tage vor | 0

| akzeptiert

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

21 Tage vor | 0

Beantwortet
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('*.*'); ...

etwa 2 Monate vor | 1

Beantwortet
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, ...

etwa 2 Monate vor | 0

| akzeptiert

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

3 Monate vor | 0

Beantwortet
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)...

4 Monate vor | 0

| akzeptiert

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

5 Monate vor | 1

| akzeptiert

Frage


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

5 Monate vor | 1 Antwort | 0

1

Antwort

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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 0

| akzeptiert

Frage


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

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

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

mehr als ein Jahr vor | 1

| akzeptiert

Frage


Invisible properties and methods of SolidWorks using actxserver
Hello everyone, I am trying to interface with SolidWorks 2020, by calling it using actxserver. It turns out that by doing so, p...

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

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

mehr als ein Jahr vor | 0

| akzeptiert

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

mehr als ein Jahr vor | 1

| akzeptiert

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 ein Jahr 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 ein Jahr 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 ein Jahr 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 ein Jahr 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 ein Jahr 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 ein Jahr 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 ein Jahr 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 ein Jahr 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 ein Jahr 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 ein Jahr 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 ein Jahr vor | 0

| 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 ein Jahr 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 ein Jahr 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 ein Jahr vor | 0

| akzeptiert

Mehr laden