Community Profile

photo

Mario Malic


Last seen: 2일 전 2019 이후 활성

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

Statistics

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

배지보기

Content Feed

보기 기준

답변 있음
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...

6일 전 | 0

답변 있음
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...

6일 전 | 0

| 수락됨

질문


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

약 1달 전 | 답변 수: 2 | 0

2

답변

답변 있음
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...

약 2달 전 | 1

| 수락됨

질문


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

3달 전 | 답변 수: 0 | 0

0

답변

답변 있음
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...

4달 전 | 0

| 수락됨

답변 있음
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...

4달 전 | 1

| 수락됨

답변 있음
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...

5달 전 | 0

답변 있음
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...

5달 전 | 0

| 수락됨

답변 있음
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...

5달 전 | 0

| 수락됨

답변 있음
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...

5달 전 | 0

답변 있음
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...

5달 전 | 0

답변 있음
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...

5달 전 | 0

답변 있음
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-...

5달 전 | 0

답변 있음
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...

6달 전 | 0

답변 있음
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...

6달 전 | 1

| 수락됨

답변 있음
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...

6달 전 | 1

| 수락됨

답변 있음
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....

6달 전 | 0

| 수락됨

답변 있음
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.

6달 전 | 0

| 수락됨

답변 있음
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...

6달 전 | 0

답변 있음
Controling Tabs in App Designer
Hello, Tabs are children of the TabGroup component. The latter component has property called SelectedTab which will be helpful....

6달 전 | 0

| 수락됨

답변 있음
How do I correlate a scalar value to a dropdown menu item?
Hello, Leave the Value field empty, it will be the first value of Items. For ItemsData, use a new row to define ItemsData for e...

7달 전 | 1

| 수락됨

답변 있음
Latex interpreter for "Edit field" label in App Designer
Hi Filippo, It seems like a weird bug, but this code makes it work. If you add drawnow in startupFcn, the FontSize can be chang...

7달 전 | 0

| 수락됨

답변 있음
extract data from cell matrix to matrix
Hi, B = cell2mat(A);

7달 전 | 1

| 수락됨

답변 있음
How can I restrict a text edit field to only specific characters?
Hi David, I haven't used ValueChangingFcn, but something like this should probably work. allowedChars = 'mMwW '; if ~any(ap...

7달 전 | 0

답변 있음
choosing an active component in GUI
Hi Stepan, You can control the active component with Tab (next), Shift+Tab (previous). The order of the components is the same ...

7달 전 | 0

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

7달 전 | 0

답변 있음
How to make a button in AppDesigner launch a matlab script ?
Hello, See run function.

7달 전 | 0

| 수락됨

답변 있음
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...

7달 전 | 0

| 수락됨

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

7달 전 | 0

| 수락됨

더로드