Community Profile

Richard Crozier


The University of Edinburgh

51 total contributions since 2009

Professional Interests: Electrical Engineering, Renewable Energy

Contact

Richard Crozier's Badges

  • Thankful Level 2
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Question


How can I use an existing Level-2 C S-Function in embedded application?
I have a simulink model which incorporates a Level-2 C code S-function. I would like to use Simulink Coder to build the model fo...

3 months ago | 1 answer | 0

1

answer

Question


Does simulink scale ill-conditioned matrices provided to State-Space block?
The question title says it all really, does simulink scale ill-conditioned matrices provided to State-Space block? The help d...

4 months ago | 1 answer | 0

1

answer

Answered
Lining to static library using Mingw-w64
I figured out you can just change the lib name to end '.lib' instead of '.a'. This shouldn't work since a .a file is a different...

7 months ago | 0

| accepted

Question


Lining to static library using Mingw-w64
I want to create a mex file which links to a static library. This library was created using Mingw-w64 and has the |.a| file exte...

7 months ago | 1 answer | 0

1

answer

Question


How is extrapolation performed in the Simulink Transport Delay block?
The Simulink Transport Delay block states that if the specified delay is smaller than the current time step extrapolation is per...

10 months ago | 1 answer | 0

1

answer

Question


Why is my Matlab hgtransform matrix invalid?
I am attempting to apply a transform matrix by setting the |'Matrix'| property of a matlab hgtransform object. The transform mat...

11 months ago | 1 answer | 0

1

answer

Submitted


crobarcro/mcode-cpp-utilities
C++ class wrapper and utilities

1 year ago | 2 downloads |

Question


How do I create a class with functional syntax, like griddedInterpolant?
The documentation for the griddedInterpolant has an example like the following: [X1, X2] = ndgrid(1:10,1:10); V = X1...

1 year ago | 1 answer | 1

1

answer

Answered
How to read xml file with binary data into Matlab? (VTK/VTU File)
The answer to determining the position was to calculate the character bit length from the first line read in like so: % o...

1 year ago | 0

| accepted

Question


How to read xml file with binary data into Matlab? (VTK/VTU File)
First of all, I've also asked this question on <http://stackoverflow.com/questions/38522178/how-to-read-xml-file-with-binary-dat...

1 year ago | 1 answer | 0

1

answer

Question


Can I set AbsTol for only some components of solution?
I have a system of ODEs in matlab which I want to solve using the standard solvers. On some of the values of these components I ...

1 year ago | 0 answers | 0

0

answers

Question


Can I solve ode without explicit expression for derivative?
I would like to solve an ODE using Matlab's solvers, but where I don't have an explicit expression for the derivative. Specifica...

1 year ago | 0 answers | 0

0

answers

Answered
how to install a compiler for windows 8.1
You can't, there are no supported compilers for Windows 8.1 From <https://msdn.microsoft.com/en-us/windows/desktop/bg162891.a...

2 years ago | 0

Question


Can I have subdirectories in a +package directory?
I would like to know if it is possible to add subdirectories to a matlab package directory (denoted by a preceeding '+' in the d...

3 years ago | 0 answers | 0

0

answers

Question


Why does Matlab set a custom LD_LIBRARY_PATH when execting "system" on Linux?
Why does Matlab set the LD_LIBRARA_PATH environment variable of the shell in which it executes "system" commands on Linux? I ...

3 years ago | 2 answers | 1

2

answers

Submitted


gapolyfitn
optimises the functional form of a multi-dimensional polynomial fit to model data

4 years ago | 2 downloads |

Submitted


refactor_fcn_name
Change the name of a function called in your m-files and optionally move it too.

4 years ago | 0 downloads |

Submitted


strrepfile
Replace one or more strings in one or more files safely

4 years ago | 1 download |

Submitted


regexprepfile
Performs regular expression replacement in a file or files

4 years ago | 0 downloads |

Submitted


xlsrange
Generates an excel range from row and column number

4 years ago | 1 download |

Submitted


Display Formatted Text Table of Data
Display data, mixed numeric and strings with optional col and row headers and your choice of col sep

5 years ago | 9 downloads |

Answered
I have removed about 75 unnecessary folders. How do I easily remove them from my path?
A better long term solution is to use a script to generate your path every time you start matlab instead of hard coding the path...

5 years ago | 1

Submitted


tightfig
Remove excess margins from figures.

5 years ago | 179 downloads |

Thumbnail

Answered
PC Reccomendations for MATLAB
Use an Amazon EC2 cloud machine. It will be upgraded regularly and you can later use the distributed computing toolbox to spread...

5 years ago | 0

Answered
how to solve Coupled equations including ODE and algebraic equations?
Well, the error says it all, you don't define EVI in the function trial.m, it's not passed in as a variable anywhere, and its no...

5 years ago | 0

| accepted

Answered
Slow Matlab startup if startup.m contains many path additions
build the path yourself and do a single call to addpath, addpath expects a single string containing path names separated by semi...

5 years ago | 0

| accepted

Question


Is there any workaround for the slow performance of path.m?
I use Matlab on multiple machines and generally do not have write access to the directory where the path is saved (i.e. I cannot...

5 years ago | 1 answer | 0

1

answer

Question


How to get simulink library and block names for the add_block function?
Hello, I would like to create a Simulink model programatically, using commands such as add_block etc. However, I'm having tro...

5 years ago | 1 answer | 0

1

answer

Question


Best way to determine if number is triangular number?
Hello, I would like to test if an integer is a triangular number, and am wondering what the best way to achieve this is. I am...

5 years ago | 3 answers | 0

3

answers

Answered
Using simulink as fitness function for GA
I think this might help you: http://stackoverflow.com/questions/5140013/executing-simulink-model-by-m-file-and-retrieving-the...

5 years ago | 0

Load more