Community Profile

photo

Simon Aldworth


Last seen: 1 year ago Active since 2018

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Num2str without conversion character but with horizontal tab
Hi, I wish to convert an array to string type for export in a text file but I'm being thwarted by the formatSpec argument in nu...

1 year ago | 1 answer | 0

1

answer

Question


Converting equations to first order system for ODE45
Hi, I'm trying to convert a set of equations of motion for a simple vehicle model into a set of first order differential equati...

1 year ago | 2 answers | 1

2

answers

Answered
Simscape Translation Friction Element Equation
According to Matlab support, the e is also Euler's number.

2 years ago | 0

| accepted

Question


Simscape Translation Friction Element Equation
Hi, The help page for the Translational Friction element in Simscape gives the equation on which the element function is based....

2 years ago | 1 answer | 0

1

answer

Question


One column in return from ode45 is all zero
Hi all, I've setup a simple 3 DOF model of a car to examine its pitch, bounce and longitudinal behaviour during braking events....

3 years ago | 1 answer | 0

1

answer

Question


Setting ODE multiple integration start and end times whilst wanting specific intermediate points
Hi, Until recently my model was integrated as a single time span and used a long vector of times to return values at the desire...

3 years ago | 1 answer | 1

1

answer

Question


ODE OutputFcn returning fewer points than expected
Hi, I'm using OutputFcn to return exta information from ode45 and whilst the returned signal looks as I expected it to it's onl...

3 years ago | 1 answer | 0

1

answer

Question


Getting extra parameters from ODE45 and the mystery transpose
Hi, I've been reading various posts on getting extra parameters from ODEs and not having much luck implementing them. Concerned...

3 years ago | 2 answers | 0

2

answers

Question


Problem using OutputFcn to get parameters out of ODE45
Hi, I'm using ode45 to solve a three degree of freedom mass, spring, damper problem. It's been running well until I've modified...

3 years ago | 0 answers | 0

0

answers

Question


Replace some values of a vector with values from another vector of the same size
Hi, I have a vector of calculated values that must be capped at a certain value. The capped value may vary along the length of ...

3 years ago | 2 answers | 0

2

answers

Question


Defining the order in which Simulink signals are logged
Hi, Can anyone tell me if it's possible to define the order in which Simulink signals are presented in a signal logging file? ...

5 years ago | 0 answers | 0

0

answers

Answered
gcf repeatedly returns gui and not newly created figures
Apologies all. When I read the text following print(fig,_) I took onboard the words 'Simulink block diagram' and somehow missed ...

5 years ago | 0

Question


gcf repeatedly returns gui and not newly created figures
Hi all, I am using a GUIDE-created gui to run a Simulink model and part of the output is a series of figures. I am creating the...

5 years ago | 2 answers | 0

2

answers

Question


Functions in gui script not seeing handles struct
Hi, I have produced a gui using GUIDE in which I add several fields to the handles struct for use later on (within the gui sc...

5 years ago | 1 answer | 0

1

answer

Question


Setting Simulink parameter values from script
Until recently I was running a Simulink model from my main script. The Simulink model uses variables in the blocks and would run...

5 years ago | 2 answers | 0

2

answers

Question


Gui appears and disappears before user can do anything with it
I have been working on a script and gui for sometime and have now decided to completely restructure my code. I have blocked out ...

5 years ago | 1 answer | 0

1

answer

Question


How to use varargout in a GUI
Hi, There is clearly something I don't understand about getting data from a gui into my main code. For the purposes of an exa...

5 years ago | 0 answers | 0

0

answers

Question


Call OpeningFcn each time a button is pressed
Hi, I have a piece of main code in which I call a GUI. In the GUI, the OpeningFcn function contains some code and calls uiwai...

5 years ago | 1 answer | 0

1

answer

Question


Best approach for analysing time history data from a Simulink model
Hi, I'm creating my first Simulink model and Matlab code. The model is a simple two degree of freedom vehicle simulation in w...

5 years ago | 0 answers | 0

0

answers