Community Profile

photo

men8th


Active since 2019

Followers: 0   Following: 0

Statistics

All
  • First Answer
  • First Review
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Best practice: should a function return a row vector or a column vector
Perhaps this has been asked before but if it has I can't find the answer. If I write a function or method which returns a vecto...

6 months ago | 3 answers | 0

3

answers

Answered
Saving git log number of the current commit in MATLAB
If you are wanting to get a build number then I find the following works well: system("git describe --tags --first-parent --abb...

1 year ago | 0

Answered
Make "to workspace" variable available for StopFcn when using sim command
I solved this by pulling the StopFcn callback into a standalone .m file, then wrapping the callback from the model with a try-ca...

1 year ago | 0

Answered
Is it possible to change the location/ position of the input/ output ports on a subsystem block?
If you draw a subsystem in a blank area on the canvas (left click + drag to highlight a square, then use the context menu to cre...

1 year ago | 0

Answered
What should go in a next-generation MATLAB X?
My goodness, the IDE can be annoying sometimes. What's missing... I use the editor undocked. Please can we have the capability ...

1 year ago | 1

Question


Scope and hierarchy of variables in Simulink
Is there any documentation on variable scope in Simulink. My understanding is that lower level units like masked subsystems have...

1 year ago | 0 answers | 0

0

answers

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

1 year ago

Question


Efficient data structures for object arrays
I have a vector class which I'll sketch out below classdef VectorClass < handle properties coordinates (1,3) doub...

2 years ago | 0 answers | 0

0

answers

Question


Validate property is a subclass of an abstract class
I've just upgraded from 2018b to 2020a and some of my code has stopped working. With release 2018b the following code did not th...

3 years ago | 1 answer | 2

1

answer

Question


Rename .prj project file
I am using a Matlab/Simulink project to manage my files. The project is managed using a file with extension .prj. Does anyone ha...

4 years ago | 1 answer | 2

1

answer

Answered
Merge without command line git
To answer my own question, I did myself out of this hole by making a new sandbox in the first machine, then pulling a fresh copy...

4 years ago | 0

Question


Merge without command line git
I have a git repository on a network drive which I've been using to manage a single project from a single machine. I pulled a co...

4 years ago | 1 answer | 0

1

answer

Question


Is there a way to make fzero reuse values from interval search
This post is half question, half update request... When calling fzero with only a starting point, not an interval, is there a w...

4 years ago | 0 answers | 0

0

answers

Question


Best way to forward object properties
What is the best way to forward object properties when undertaking object oriented design with Matlab. Here I use forwarding in ...

4 years ago | 0 answers | 0

0

answers

Answered
Set properties of child objects without synchronisation errors
Hi Steven, Some answers below. Let me know what you think. ◾When are pressure vessels allowed to change pipes? Are they fixed ...

4 years ago | 0

Question


Set properties of child objects without synchronisation errors
I have a parent object with properties which hold some child objects. The child objects are all of the same class. When I change...

4 years ago | 4 answers | 0

4

answers

Question


How to synchronise inherited properties of class
I have a superclass TubeClass with a number of properties, one of which is outsideDiameter. From this superclass, I derive two s...

4 years ago | 1 answer | 0

1

answer

Question


table stackedplot with log y-axis
Is there a way to modify the axes properties of a plot of table data created using stackedplot. Specifically I'd like log y-axes...

4 years ago | 1 answer | 0

1

answer

Solved


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

4 years ago