# Todd Flanagan

### MathWorks

Followers: 0 Following: 0

**Statistics**

RANK**789**

of 291,554

REPUTATION**90**

CONTRIBUTIONS

**0** Questions

**26** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**19**

RANK**1,832** of 19,803

REPUTATION**982**

AVERAGE RATING**4.40**

CONTRIBUTIONS**2** Files

DOWNLOADS **3**

ALL TIME DOWNLOADS**9720**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

JDK provider and version disparities

You are correct that MATLAB ships with an Oracle version of the JRE. Compiler SDK for Java requires a JDK to compile Java code....

3 years ago | 0

| accepted

Example of coding a `struct` in Java when packaging Matlab function?

The eaiest way to learn how to create structs in the Java API is to add a sample in the Library Compiler tool with a sample stru...

3 years ago | 0

| accepted

`mlx` interface for Java packaging of Matlab functions?

Java packages produced by the Compiler SDK product support a variety of signatures and has expanded over time. New users to the...

3 years ago | 0

| accepted

Inconsistent array notation in Java interface generated by MATLAB Compiler SDK?

You are correct that mlx is a convention. It refers to a c style interface that is familiar to people using other c-style MATLA...

3 years ago | 0

| accepted

Generate command-line command from library compiler project?

You can use: deploytool -build foo.prj To build from the command line using the current settings in the project. Form the os ...

3 years ago | 0

| accepted

MWArray: Non-conventional-Matlab terminology for data types and arrays?

MWNumericArray(boolean rVal, boolean iVal, MWClassID classid) This signature will take Java booleans and convert them to ...

3 years ago | 0

| accepted

WHY my matlab has encountered an internal problem and need to close when i open it??

You may be having an issue with opengl try starting MATLAB from a terminal matlab -softwareopengl

7 years ago | 1

Warning: Name is nonexistent or not a directory

If you are in linux or Mac paths are case sensitive. rmpath('/home/psantos/Demos') addpath('/home/psantos/demos') w...

7 years ago | 0

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

7 years ago

Submitted

Web Deployment Using MATLAB

A web-based gene analysis demonstration using MATLAB Builder for COM

8 years ago | 1 download |

Submitted

Access a MATLAB Compiler Generated DLL

Use WIN32 api to load Compiler generated dll at runtime.

8 years ago | 2 downloads |

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

11 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

11 years ago

How do I pass an equation as a parameter to a class constructor?

You wouldn't pass something like 2x + 1 to <http://www.mathworks.com/help/techdoc/ref/diff.html DIFF>. DIFF expects a vector or...

13 years ago | 0

How can I convert a large .mat file (> 400 MB) into an excel file or csv file?

You are probably getting this error: ??? Error using ==> xlswrite at 211 Excel returned: Error: Object returned error code...

13 years ago | 0

How do I get started with an augmented reality project?

Here is an <http://www.mathworks.com/videos/matlab/sudoku.html example> of a sudoko solver that implements a 2D solution. Her...

13 years ago | 0

How to save a GUI In Way that you can run it from another PCs?

You can redistribute MATLAB code and Guide guis using the <http://www.mathworks.com/products/compiler/ MATLAB Compiler>. This w...

13 years ago | 0

FOR EACH object in object

|for| in MATLAB behaves a lot like |FOR EACH|. If you say: for idx = 1:10 you are saying FOR EACH idx IN [1 2...

13 years ago | 4

How do I count the number of matching pairs in 2 vectors and use that as colors in a contour plot?

A = [1,2,5,1,6,2,8,2,9]; B = [3,4,2,3,7,4,5,4,8]; c = <http://www.mathworks.com/help/matlab/ref/accumarray.html |accum...

13 years ago | 0

FIR Window - Taylor

The <http://www.mathworks.com/help/toolbox/signal/taylorwin.html |taylorwin|> documentation provides references for the signal p...

13 years ago | 0

| accepted

How can I get and set variables like PID parameters in a Simulink model from an mfile?

<http://www.mathworks.com/help/toolbox/simulink/slref/open_system.html |open_system|> <http://www.mathworks.com/help/toolbox/...

13 years ago | 1

How can I use dlmread to input data as single precision?

I think you want to use <http://www.mathworks.com/help/techdoc/ref/textscan.html |textscan|>. That will allow you to specify th...

13 years ago | 0

| accepted

Why do I get a "could not find version 7.14 of the MCR..." error when running my compiled compiled .exe?

There are <http://www.mathworks.com/help/toolbox/compiler/f12-999353.html really 2 things> that need to happen to run an applica...

13 years ago | 1

| accepted

The FIND command returns an empty matrix for a number I know exists

You are bumping into issues with floating point accuracy. Loren has a nice <http://blogs.mathworks.com/loren/2006/08/23/a-glimp...

13 years ago | 2

Can anyone explain how Sliceomatic works??

This slicebucky example that is in the download is a good example for getting started with sliceomatic. function slicebucky ...

13 years ago | 1

| accepted

Is there a 100% stacked area chart in MALTAB?

You can use the <http://www.mathworks.com/help/techdoc/ref/area.html *AREA*> function: Y = [1, 5, 3; 3, 2, 7; 1...

13 years ago | 1

Find position of the values of an array in a second array

This: dls(i)>=look(j) Should be: dls(i)>look(j) You might be able to write this functionality more compactly b...

13 years ago | 1

Why do I get the same numbers in "randn" function?

This is by <http://www.mathworks.com/help/techdoc/ref/randn.html design>: The sequence of numbers produced by randn is determin...

13 years ago | 0

help with fzero function

I think the issue is that you are using alphax but not passing parameters in trial0 here: A4 = sigma_e + ((1-0.14*(d/L))/...

13 years ago | 4

| accepted