photo

Todd Flanagan

MathWorks

Last seen: 5 days ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Knowledgeable Level 3
  • 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

Feeds

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

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

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

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

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

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

4 years 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

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

8 years ago | 0

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

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

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

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

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

13 years ago | 4

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

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

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

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

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

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

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

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

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

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

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

14 years ago | 4

| accepted

Answered
MATLAB compiler/runtime & multiple processes (Windows x64)
Calls into a shared library are serialized from the host application. This doesn't always mean there is no parallelism. The ...

14 years ago | 0

Answered
How do I make one legend on a figure with multiple subplots?
Something like this? <<http://files.me.com/toddf/feo4po>> subplot(4,3,kdx); plotmystuff(); % uses subplots 4-12 and...

14 years ago | 3