Community Profile

Sean de Wolski

MathWorks

5,663 total contributions since 2004

I like to be outside. But if I'm inside, I like to be using MATLAB.

I'm a Senior Application Engineer at MathWorks and civil/structural engineer by education.

View all

Contributions in
View by

2019b warnings popping up never had this before with 2019a
I've seen this warning in 19b too! Not sure if there is a change to the PNG library being used or if my image is corrupt/out of...

17 days ago | 0

checking dataType instead typecast at property or argument validation
There's no way to do this with validators in R2019b and the datatype coercion will always happen. You can use a set.property se...

18 days ago | 0

| accepted

Problem with accumarray/histcounts
This isn't the easiest to understand algorithm in the world but I think it does exactly what you want. n = size(C,1) ix = ceil...

18 days ago | 0

| accepted

what's a externally defined MCOS class ?
I'd contact tech support on that one.

19 days ago | 0

How do I add multiple .PNG files to an existing PowerPoint (.pptx) file using a for loop?
I'd strongly encourage you to look at the MATLAB Report Generator for this which has the ability to easily add or replace conten...

25 days ago | 0

Integrating MATLAB Maps Broswer in my App Designer Project
Webmaps aren't supported in app designer. Look at using geoplot with the correct base map. Think this will get you what you wa...

25 days ago | 0

| accepted

Is there a way to get the top k values per row of a MATLAB array?
I'd probably do something like this: x = magic(4) k = 3 [~,idx] = maxk(x,k,2) for ii = 1:size(x,1) x(ii,~ismember(1:siz...

26 days ago | 0

| accepted

How to count the number of 1 between two 0 in a vector?
[regionprops(bwlabel([0 1 1 1 0 0 1 0 1 1 0 1]),'Area').Area]

26 days ago | 0

In programmatic report generation how can I display numbers in engineering format inside a table?
Look at the NumericFormat property of the MATLABVariable class https://www.mathworks.com/help/rptgen/ug/mlreportgen.report.matl...

26 days ago | 0

How to combine all CT files to make a single array/matrix?

29 days ago | 0

Retrain model, Classification Learner
When you export the model, there's an option to generate a function. This function can be used to retrain the model on new data...

1 month ago | 1

| accepted

drawellipse not working, can't reproduce example
which -all drawellipse Looks like you're shadowing this.

1 month ago | 0

| accepted

Published

digCircs
Sean‘s pick this week is digcircs by Graham W Griffiths.   My pick this week is a really cool visualization of the numbers...

1 month ago

How to share and update property value across different objects.
Put a breakpoint on this line: cgmObj.set_interstitial_BG(val); And see what cgmObj is and if it has a set_interstitial_BG(val...

2 months ago | 0

Published

Determining next available file name
Jiro‘s Pick this week is nextname by Stephen Cobeldick.Stephen is no stranger in the MATLAB user community arena. As of...

2 months ago

Convert .rpt to .m file?
You can use the rpt file with the new APIs https://www.mathworks.com/help/releases/R2019b/rptgen/ug/mlreportgen.report.rptfile-c...

2 months ago | 0

Plotting the density of latitude and longitude points as a heat map on geographic data
Look at geodensityplot https://www.mathworks.com/help/releases/R2019b/matlab/ref/geodensityplot.html

2 months ago | 0

Solved

Aquiles y la tortuga
Contaba Zenón en su famosa paradoja que un día Aquiles, el guerrero griego más veloz de la Hélade, se enfrentó a una pequeña tor...

2 months ago

Published

2019 in Review
It’s that time of year again; 2019 is coming to a close as are the two thousand teens.  During the past decade, I started...

2 months ago

How to create subplots of findchangepts function?
Take a look at the find change points live task which will generate the code for you for the plot you're looking for. Copy and ...

2 months ago | 1

| accepted

Directly open custom documentation
web(fullfile(docroot, '3ptoolbox/toolbox_name/doc/Index.html')) You can get this by navigating to your custom doc page's Index,...

2 months ago | 0

Published

App for calculus students (one-variable plotting)
Jiro‘s Pick this week is ez plotter by Martin C.For my work, I spend a lot of my time thinking about how MATLAB can help...

2 months ago

How to set the variable formats in a Report Generator table?
In R2019b, the https://www.mathworks.com/help/releases/R2019b/rptgen/ug/mlreportgen.report.matlabvariable-class.html has a Numer...

3 months ago | 0

| accepted

Using timer, How can I cleanly exit a function execution, when the timer fires in MATLAB?
Why use a timer for this? In the start of your function, start a tic t = tic Then periodically check if toc(t)>2 ...

3 months ago | 0

Published

Minimally Bounded Rectangles, and more!
Brett‘s Pick this week is A suite of minimal bounding objects, by John D’Errico. I also give a shout-out to julien diener,...

3 months ago

Published

Sean‘s pick this week is py_addpath directory matlab_too by Eric Fields. Using Python with MATLAB Do you have some Python...

3 months ago

Unable to save 1024 x 1280 cell array of cfit objects.
If I were you, I'd just store a,b,c,and d, as matrices directly then when necessary construct the cfit object on the fly with th...

3 months ago | 0

| accepted

How can I switch programatically that my model uses base workspace instead of data dicitonary?

3 months ago | 0

| accepted