Community Profile

photo

Todd Flanagan

MathWorks

Last seen: 29 days ago Active since 2011

Statistics

All
  • Revival Level 1
  • 5-Star Galaxy Level 3
  • First Submission
  • Thankful Level 1
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Scavenger Finisher
  • Solver

View badges

Content Feed

View by

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

11 months ago | 0

| accepted

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

11 months ago | 0

| accepted

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

11 months ago | 0

| accepted

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

11 months ago | 0

| accepted

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

11 months ago | 0

| accepted

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

11 months ago | 0

| accepted

Answered
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

5 years ago | 1

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

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

5 years ago

Submitted


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

5 years ago | 1 download |

Submitted


Access a MATLAB Compiler Generated DLL
Use WIN32 api to load Compiler generated dll at runtime.

5 years ago | 1 download |

Solved


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

9 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

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

9 years ago

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 3

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 1

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

10 years ago | 0

| accepted

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

10 years ago | 1

| accepted

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

10 years ago | 2

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

10 years ago | 1

| accepted

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

10 years ago | 1

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

10 years ago | 1

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

10 years ago | 0

Answered
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))/...

10 years ago | 4

| accepted

Load more