Community Profile

photo

Richard Crozier


The University of Edinburgh

Last seen: 12 Monate vor Aktiv seit 2009

Followers: 0   Following: 0

Kontakt

Professional Interests: Electrical Engineering, Renewable Energy

Statistiken

All
  • Personal Best Downloads Level 3
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • GitHub Submissions Level 1
  • First Submission
  • Thankful Level 3
  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Level 2 S-Function block port sampling mode error
When I try to run a model containing Level-2 m-code S-Function block I have created I get the following error: Level-2 MATLAB S...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Can I use a C MEX function in Level-2 M-File S-Function for deployment to a speadgoat real-time PC?
I have created a Level-2 M-File S-Function which internally calls a C MEX function. This works fine in normal simulink, but is i...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How best to set Matlab Level 2 S-Function port sizes based on dialog parameters?
I'm creating a Level 2 S-Function with two inputs and one output port. One input port and one Output port will vary in size, bu...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
I already have MinGW on my computer. How do I configure it to work with MATLAB?
I am trying the described solution in Matlab R2018a. If I run without administrator priviliges I get the following when trying ...

mehr als 4 Jahre vor | 0

Beantwortet
Can I have subdirectories in a +package directory?
The answer is no, you cannot have subdirectories in a package directory.

mehr als 5 Jahre vor | 0

| akzeptiert

Frage


How to get unique members of an array of handle classes?
I have an array of classdef object derived from handle. It is possible that some of these members could actually point to the sa...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How do I use live script (*.mlx) files in source control?
No you cannot use live scripts with any of the major version control systems such as svn, git or mercurial. They are a binary fo...

etwa 6 Jahre vor | 4

Frage


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...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

fast 7 Jahre vor | 0

| akzeptiert

Frage


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...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 7 Jahre vor | 1 Antwort | 1

1

Antwort

Beantwortet
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...

mehr als 7 Jahre vor | 0

| akzeptiert

Frage


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...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

fast 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 8 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
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...

fast 9 Jahre vor | 0

Frage


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...

etwa 9 Jahre vor | 3 Antworten | 5

3

Antworten

Frage


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 ...

etwa 9 Jahre vor | 2 Antworten | 2

2

Antworten

Beantwortet
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...

mehr als 11 Jahre vor | 1

Beantwortet
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...

mehr als 11 Jahre vor | 0

Beantwortet
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...

mehr als 11 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 11 Jahre vor | 0

| akzeptiert

Frage


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...

mehr als 11 Jahre vor | 1 Antwort | 2

1

Antwort

Frage


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...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 11 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
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...

fast 12 Jahre vor | 0

Beantwortet
GA (genetic algorithm) moves away from better values
But only the mean gets worse, the best improves with every generation, and this is all that matters surely? Random combinatio...

fast 12 Jahre vor | 0

Mehr laden