Community Profile

photo

Dominik Mattioli


Last seen: 27 days ago

University of Iowa

43 total contributions since 2013

- University of Iowa, PhD Candidate (Industrial & Systems Engineering, 2021)
- The Ohio State University, M.S. (Civil Engineering 2017)
- The Ohio State University, B.S. (Civil Engineering 2015)

Contact

Dominik Mattioli's Badges

  • Thankful Level 3
  • First Review
  • First Answer

View details...

Contributions in
View by

Question


How to run a python script with an open terminal window on a mac?
I'm using a socket connection which requires the python script to continuously run. I have this figured out on Windows, where !...

2 months ago | 0 answers | 0

0

answers

Question


How to represent the skeleton of a mask as an equation of a line?
My masks are assumed to always take the following shape, and I need to represent them with minimum information (x_start, x_end, ...

4 months ago | 0 answers | 0

0

answers

Answered
Finding a number in an array less than 2
The error message is telling you that you are trying to index into a variable using an index that is not positive or a logical. ...

5 months ago | 1

Answered
Determine the number of y-values less than the number 2.0
First, your variable 'sum' in your first for-loop is problematic because it is overwriting a built-in MATLAB function called 'su...

5 months ago | 0

Question


How to assign a class method as a ClickedCallback?
The class may change, but the method names are the same. classdef BaseClass < handle properties p = [] end ...

5 months ago | 1 answer | 1

1

answer

Question


Minimize cmd.exe window launched from MATLAB?
I am using a TCP/IP object to have MATLAB communicate with Python in the background. Python needs to be the server, so from MATL...

5 months ago | 1 answer | 0

1

answer

Question


Is there inheritable behavior (or a Mixin) for setting/getting the 'Parent' and 'Children' properties of a custom class?
I ran into a problem with setting the Parent and Children of a user-defined class, and I ended up writing my own methods that se...

6 months ago | 1 answer | 0

1

answer

Question


How to override inherited methods?
classdef superClass < matlab.mixin.SetGet % SuperClass properties prop1 = []; prop2 = []; end ...

6 months ago | 1 answer | 0

1

answer

Question


How to require a custom class type with addRequired?
I have a custom class, classdef foo properties %Property stuff prop1; end methods fun...

6 months ago | 2 answers | 0

2

answers

Question


How to pass a matlab string as an exclamation point command
pathName = '.../foldername/subfoldername' scriptName = 'main.py' How do you issue a command to run some file in that folder wi...

10 months ago | 1 answer | 0

1

answer

Question


Can you program a figure to execute the same callback after each child's callback?
Essentially, I'd like a callback that is for the figure and all of it's children, but is executed last. Of course, you could man...

11 months ago | 1 answer | 0

1

answer

Question


How to close system command prompt opened by MATLAB !command?
I've seen similar questions but not ones that involve opening the command window/terminal via "!". I'm using a MATLAB-to-Python ...

11 months ago | 1 answer | 0

1

answer

Answered
How to make a figure fit a screen on a 2nd monitor?
I've found that setting the outerPosition property can be awkward, especially with a taskbar in the mix. % Get pixel position o...

11 months ago | 0

Answered
How do I make a figure full screen programmatically in MATLAB?
If you want to account for the taskbar (I found this in the comments of some other question): fh = figure(); fh.WindowState = ...

12 months ago | 14

Question


Calling python scripts that use "from" keyword to import keras from MATLAB
I've set my pyversion as the command-line-downloaded executable of python, and I have added the directory containing all site-pa...

12 months ago | 0 answers | 0

0

answers

Answered
How to change python path?
After some research, I've discovered that MATLAB needs to be able to find the correct version and install of python, but adding ...

12 months ago | 0

Question


Why would py.importlib.import_module('keras') fail?
% Specify Python Executable Library. pcPythonExe = 'C:\Users\dmattioli\AppData\Local\Programs\Python\Python37\python.exe'; [ve...

12 months ago | 0 answers | 1

0

answers

Question


How to change python path?
I'm trying to call a python script that imports tensorflow. I point python to my Anaconda-built python executable and I add the ...

12 months ago | 1 answer | 0

1

answer

Question


How to implement a setter restriction?
When making a user-defined class myClass that inherits from matlab.mixin.SetGet, how can I restrict the Set for a property prop1...

1 year ago | 1 answer | 0

1

answer

Answered
In MATLAB, how do I obtain information about my screen resolution and screen size?
Res = get(0,'ScreenPixelsPerInch') This functionality might have been added since MathWorks originally posted their own answer ...

1 year ago | 0

Question


How to move cursor line within edit box of uicontrol?
I've a string that isn't always viewable within my edit box. I'd like to be able to move the cursor and/or adjust the view of th...

2 years ago | 1 answer | 0

1

answer

Question


Constraining imline to points of an existing imellipse?
I'd like to draw a line and then be able to adjust the endpoints of that line while restricting them to the vertices of an ellip...

2 years ago | 1 answer | 0

1

answer

Question


How to plot the second point of line at mouse location
I'd like to plot a line defined by two points, one that is already selected in [x,y] space, and the other that is unselected, bu...

2 years ago | 1 answer | 0

1

answer

Question


How to create a triangulation from a list of edges and list of nodes?
I'm beginning with a triangulation so that I know this graph is actually composed of non-intersecting edges that define a set of...

2 years ago | 1 answer | 0

1

answer

Question


How to plot a graph without intersecting edges?
Can you input nodal coordinates to the graph generating function or specify in the plotting function to not have intersecting ed...

2 years ago | 0 answers | 0

0

answers

Question


How to create this monotonically increasing list of numbers?
I want to use a vector V of length N V = [1 1 2 1 2 3 1] to create a monotonically increasing list L, where the values o...

2 years ago | 2 answers | 0

2

answers

Question


How to place a dialog box in a GUI?
For all built-in MATLAB dialog box functions (errordlg, helpdlg, warndlg, etc.), can you place these dialog boxes into your GUI ...

2 years ago | 1 answer | 0

1

answer

Question


How to retrieve handles (data) of MATLAB GUI from saved .fig file?
I need to retrieve about 100 saved GUI's (templated from Guide), so I'd rather not open each file and manually load the data int...

2 years ago | 1 answer | 0

1

answer

Question


How to cancel impoly, imcrop, etc. in GUI?
Suppose that there is an image in an axis of a GUI (created via guide) and a button that calls imcrop. After pushing this button...

2 years ago | 0 answers | 0

0

answers

Question


How to use a parfor loop inside a for loop?
I have a for loop with variables that have dependency. Within that loop I would like to use parfor to perform a costly operation...

2 years ago | 1 answer | 0

1

answer

Load more