Community Profile

photo

Mario Malic


Last seen: Today Active since 2019

Still discovering things I like to do! Experience with: (1) Developing applications with MATLAB, (2) Automating workflows through APIs or scripts (pre- and post-processing in FEA, CAD), (3) NVH measurements and analysis, (4) Building helpful gadgets with 3D printing

Programming Languages:
Python, C, MATLAB, Visual Basic
Spoken Languages:
English
Pronouns:
He/him
Professional Interests:
App Building, Signal Processing, Measurements and Testbenches, Automation Scripting, Finite Element Analysis (FEA)

Statistics

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

View badges

Content Feed

View by

Answered
set requirement property ID to read only
https://uk.mathworks.com/help/matlab/matlab_oop/mutable-and-immutable-properties.html

7 dagen ago | 0

Answered
How to detect which audio output device is being used by Windows
Maybe this will help devWriter = audioDeviceWriter() devWriter.getAudioDevices % Gets the available audio devices to output d...

13 dagen ago | 0

Answered
global properties in app designer with arduino
I would suggest you to implement your second code in the startupFcn callback. This is the callback that runs when the app is loa...

14 dagen ago | 0

Answered
Changing range voltage for NI acquisition : how to solve : Warning: Cannot support range of -5.0 to +5.0 Volts. Range set to -10 to +10 Voltt ?
Hello! It's just a warning, it will work, range is still in between -10V and 10V. Why wouldn't you utilize the full range of yo...

ongeveer 2 maanden ago | 1

| accepted

Answered
NI USB-6001 background analog output
Use the appropriate function for background data acquisiton - https://uk.mathworks.com/help/releases/R2018b/daq/ref/startbackgro...

4 maanden ago | 1

Answered
Is it possible to disable/change the default selection logic of CheckBoxTree?
As it is now, it is impossible. Parent nodes will always be selected if all child nodes are. I have made a callback function and...

5 maanden ago | 1

Answered
Current figure text interpreter
Hi, here's an example fig = figure(); subplot(2,1,1); x = linspace(0,10); y1 = sin(x); plot(x,y1) legend("ax_1"); subplot...

5 maanden ago | 0

| accepted

Answered
Retrieve Compiled App Project Info at Runtime
I haven't seen a property that says anything about app version, however, it's possible to get it if you extract the .mlapp file ...

5 maanden ago | 0

Answered
EventListener for plot's YLim property
Example below fig = uifigure(); ax = uiaxes(fig); plot(ax, magic(3)) propListener = addlistener(ax, 'YLim','PostSet',@(src, ...

5 maanden ago | 0

Answered
How to run loop until user enters text in the command window? (without using the input function)
Undocumented and subject to change but it works, at least when it was tested back then https://uk.mathworks.com/matlabcentral/an...

5 maanden ago | 1

| accepted

Answered
Importing Solidworks 2D Geometry into MATLAB
Here is a SolidWorks macro, you have to select the edge and run the macro. Hopefully it works, otherwise you need to tell me wha...

5 maanden ago | 0

Answered
How to change scatter plot shapes for multiple y variables to help differentiate them?
You can specify the marker type https://uk.mathworks.com/help/matlab/ref/scatter.html#btrli6p-1_1 You can check outboxchart too...

5 maanden ago | 1

| accepted

Answered
Greybox Modelling Resources and Understanding Examples
Hey! There aren't many people dealing with this toolbox here. I will try to shed some light to it as I dealt with this for a li...

5 maanden ago | 0

Answered
Read individual cells from excel and write into excel
Try this clear; files = dir("*.xlsx"); idx = contains({files.name}, "~"); % removes open Excel files from list files(idx) = ...

5 maanden ago | 0

Answered
How can you prevent axis labels from having uneven spacing from the axis
Sometimes you have to let things be imperfect. Also, put down that magnifier in the drawer. Joke aside, try Horizontal Alignmen...

6 maanden ago | 0

Answered
Use splittapply with division
Hey, is this what you are looking for? load D1990.mat [group1, ID] = findgroups(D1990new.gvkey); y = splitapply(@(x) {x./x(...

6 maanden ago | 0

| accepted

Answered
How to plot the distance between two curves
% Gegebene Daten x = [29.069, 44.395, 59.528, 74.76, 90.036, 150]; y = [0.07091, 0.076187, 0.081665, 0.087588, 0.093687, 0.119...

6 maanden ago | 1

| accepted

Answered
How do I register/record analog input using a DAQ device?
How does your saveData function look like? Most likely, you need to open your file in append mode. Every time you write, data ju...

6 maanden ago | 0

| accepted

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

6 maanden ago

Answered
How to save oullook email as text format
Hi, objol = actxserver('outlook.Application'); objNameSpace = objol.GetNamespace('MAPI'); objInbox = objNameSpace.GetDefa...

6 maanden ago | 1

| accepted

Answered
Unrecognized method, property, or field 'Value' for class 'matlab.ui.control.Button'.
Correct property that you are looking for is Enabled, instead of Value.

6 maanden ago | 1

Answered
I'm trying to use the findpeaks function in a for-loop for a large array and struggling to generate multiple outputs
Hey, If I understood correctly your question, you should use a cell array due to numeric array limitations which is that numeri...

6 maanden ago | 0

| accepted

Answered
How to limit editfield length and auto shift cursor in App Designer
MATLAB now has a focus function since R2022a that does exactly what you want.

6 maanden ago | 1

| accepted

Answered
Appdesigner Numeric Edit Field value is displayed different when user tries to edit
Hi, Just use round function on the user input, Event.NewData IIRC.

6 maanden ago | 0

Answered
Copy 3 UIaxes into one figure
Hey, Solution for combining the image is below. If you need some space in between, you can add white space, by creating array t...

6 maanden ago | 0

Answered
UIAxes - Remove Brushed Data through button click Callback.
Here is an example of setting brushed data to NaNs, now you have to incorporate this in the callback. fig = uifigure(); ax = u...

6 maanden ago | 0

| accepted

Answered
problem to combine string
str = ["Loop", "1*", "0.3266"]; strNew = join(str)

7 maanden ago | 0

| accepted

Answered
Is it possible to disable parent node selection in a uitree?
Hey, I hope you have sorted it out, however, here's an example in which SelectionChangedFcn is used to remove the nodes which h...

7 maanden ago | 1

Answered
Extract image from multi-image figure window?
Hey, fig = gcf; % Current figure ax = findall(fig, 'type', 'axes'); for i = 1 : numel(ax) figH = gobjects(1, numel(ax));...

9 maanden ago | 0

Answered
DataAcqusitionToolbox write has a delay
Try preload

9 maanden ago | 0

Load more