Community Profile

photo

Arwel


STFC Rutherford Appleton Laboratory

Last seen: 4 days ago Active since 2013

Statistics

  • Thankful Level 2
  • Revival Level 2
  • First Review
  • Thankful Level 1
  • First Answer

View badges

Content Feed

View by

Question


Why does coder produce multiple copies of my function?
Hi, I'm trying to use coder to convert a large project into C++. I want to do two things.... (1) Generate the mex file (2)...

1 year ago | 1 answer | 0

1

answer

Question


Making human readable cpp using coder
Hi, I want to use Coder to make some C++ source code, and there are a couple of things that are important to preserve that I'm ...

2 years ago | 1 answer | 0

1

answer

Answered
Matlab prompt is not opening when Trying to install matlab 2021b in ubuntu 20.04
I can report also worked on RedHat 8..

2 years ago | 1

Answered
How Do I use Mexcallmatlab to Call a User-defined function?
One way I have done this in the past is rather than trying to call back into the origonal Matlab workspace, instead to launch se...

3 years ago | 0

Question


How to display a full table when it's a class property
Hi, Suppose I have a class which has a table as a parameter, like this... classdef exampleClass1 < handle properties...

3 years ago | 1 answer | 0

1

answer

Question


Problem with basics of including C++ code with coder (coder.ceval)
Hi, I'm trying to incorporate existing c++ functions into Matlab coder using coder.ceval, but am struggling to even get a basc ...

3 years ago | 1 answer | 0

1

answer

Question


Can't start parpool with the 'threads' option
Hi, I am able to run parfor loops by staring a parpool like this..... parpool(8) .. and then things work. However, accordin...

4 years ago | 1 answer | 1

1

answer

Question


Enforcing grouping in the Symbolic Math toolbox
Hi, I have a question regarding controlling the grouping of terms in the symbolic math toolbox. I've tried to figure out how to...

4 years ago | 1 answer | 0

1

answer

Answered
Mex OpenMP C code
This thread maybe has what you need.... https://www.mathworks.com/matlabcentral/answers/381180-how-to-compile-matlab-library-wit...

4 years ago | 0

Question


Problem with Java table
Hi, I am making a Java gui, and I want to put a JTable in there. The table needs to have 7 colums, the first of which is an (un...

4 years ago | 0 answers | 0

0

answers

Answered
Matlab doesn't release memory when variables are cleared
Previously, Ive just done something this which seems to work..... % After deleting your large variable, go.... evalin('base','...

4 years ago | 0

Question


MEX for different platforms - deployment question.
HI, I have some software than will be used by different members of a team. Everyone has matlab, but annoyingly on different pla...

5 years ago | 1 answer | 0

1

answer

Question


Class 'dependent' property warning
Hi, I'm trying to build a class, one of the properties of which is also a class. I want to be able to index the properties of t...

5 years ago | 1 answer | 0

1

answer

Answered
Progress Bar in Live Editor and Output in Console
Me too - I have exactly the same problem. In my case and 'fminsearch' that takes a few minutes, so appears to make the live edit...

5 years ago | 0

Answered
Matlab coder - outputting variable sized cell arrays.
Andy, I'm afraid I still can't get this to work. I've tried to set it up as you suggest, initially just with one of my outputs...

5 years ago | 0

Question


Matlab coder - outputting variable sized cell arrays.
Hi, I am trying to use coder with a function that outputs a variable sized cell array. I've made a toy function that shows my p...

5 years ago | 2 answers | 0

2

answers

Question


Using hetrogenous cells for code generation
Hi, I am trying to convert some code to C using matlab coder. I've hit a problem with cell arrays which I can't quite see how...

5 years ago | 1 answer | 0

1

answer

Question


Variable size cell aray of strings for codegen
Hi, I want to pass a variable size cell array to a coder generated function. The array is a variable sized array of strings (...

5 years ago | 0 answers | 0

0

answers

Question


How to write this class- 'nn-dependent property should not access...' warning
Hi, I have a class which I define as follows.... classdef problemDef properties nParams par...

5 years ago | 0 answers | 0

0

answers

Question


Matlab Coder and fminsearch
Hi, I am trying to compile an application which uses fminsearch using Matlab Coder. In the documentation for coder it suggest...

6 years ago | 1 answer | 0

1

answer

Question


'loadlibrary' - .h file problem.
Hi I have a shared c library that I would like to load into Matlab with 'loadlibrary'. The .h file looks like this... ...

6 years ago | 0 answers | 0

0

answers

Question


Using external LAPACK versions in mex
Hi, I have an external shared library which I would like to call from a (coder generated) mex. Looking at the CmakeCache.t...

6 years ago | 0 answers | 0

0

answers

Question


BLAS version problem from mex / coder?
Hi, I am trying to call some legacy c libraries from a Coder generated mex. The libraries are precompiled, and when I test my c...

6 years ago | 0 answers | 0

0

answers

Question


Linking issue with Matlab Coder....
Hi, I am trying to link to some existing precompiled libraries using Matlab Coder. Within my code I have the following..... ...

6 years ago | 1 answer | 0

1

answer

Answered
Matlab Engine - passing strings giving invalid characters
Hi James, Okay.... some developments.... I made some of the changes you suggested, except for mxDoubleScalar since BulkIn ...

6 years ago | 0

Question


Matlab Engine - passing strings giving invalid characters
Hi, I am writing an Engine application in C, which will be standalone eventually, but I would also like to call the routines ...

6 years ago | 3 answers | 0

3

answers

Answered
Matlab Engine - passing strings giving invalid characters
Thanks James. I really appreciate you looking at this. Parking the 'invalid characters' problem for now by hard coding in the p...

6 years ago | 0

Question


Coder.ceval - Linking problem during compilation
Hi, I am trying to build a standalone C application using matlab coder. The final application will make use of a Matlab engin...

6 years ago | 0 answers | 0

0

answers

Question


Return by reference from coder.ceval - access to a C array?
Hi, We have some legacy C which we would like to run using coder.ceval. Inside the C function there is an array and we wou...

6 years ago | 1 answer | 0

1

answer

Answered
Matlab Engine for C - Passing Arrays
James, I just noticed something. You removed the (void *) from the memcpy call in your code snippet. I only put it there because...

6 years ago | 0

Load more