Professional Interests: Any variety of mathematical analysis and programming

Question

32-bit and 64-bit and DB issues, oh my!

Hi! Just had my platform upgraded to Win7 64-bit (from 32-bit XP). Trying to get my database toolbox stuff to work. After fail...

environ 7 ans ago | 2 answers | 0

Question

Using M2HTML with Matlab's "Display Custom Documentation"

Hi! Is any one aware of a package that supplements <http://www.artefact.tk/software/matlab/m2html/ M2HTML> to make its output <...

plus de 7 ans ago | 0 answers | 0

Question

Way to force a fetch error,

(for error-handling testing purposes) when the preceding exec command executed fine: is there one? Thanks! DG

plus de 7 ans ago | 0 answers | 0

Question

Way to make a brushable plot not?

Hi! I have a complex, linked figure w/ both brushable plots and non-brushable ones, and both 2-d and 3-d plots; some of the 3-d...

plus de 7 ans ago | 0 answers | 0

Question

Brush callbacks: what am I missing?

Hi, folks! So, the Tips for the brush command state (I've spliced the following up a little to focus on ActionPostCallback but ...

plus de 7 ans ago | 1 answer | 0

Answered

How to retrieve handle of just-brushed object (again!)

Sorry for the noise, I finally found it in the online doc: http://www.mathworks.com/help/matlab/ref/brush.html#btl1kw9-1 s...

How to retrieve handle of just-brushed object (again!)

Sorry for the noise, I finally found it in the online doc: http://www.mathworks.com/help/matlab/ref/brush.html#btl1kw9-1 s...

plus de 7 ans ago | 0

Question

How to retrieve handle of just-brushed object (again!)

Seems I asked this question almost two years ago; I got one answer, but it wasn't sufficient (I didn't fully realize why at the ...

plus de 7 ans ago | 1 answer | 0

Question

Has anyone else encountered the JDBC Daylight Savings Time bug?

I have confirmation from MathWorks support of the following bug in the JDBC driver used by (at least) the Windows 64-bit R2012b ...

plus de 7 ans ago | 3 answers | 5

Question

How to catch java.sql.SQLException

Hi! The compiled (Windows standalone app) version of my works-fine-in-the-interpreter MATLAB code is crashing with: java.sql...

plus de 7 ans ago | 0 answers | 0

Question

What's the status of 64-bit MATLAB support for ODBC?

Hi! I'm trying to get more information to answer my boss' question: "why are we still compiling in 32-bit MATLAB?" I knew it w...

presque 8 ans ago | 2 answers | 0

Answered

Runtime errors in compiled standalone

Here's the email I just sent my support person (explains where I am/what I'm doing now): Given that it was necessary to build...

Runtime errors in compiled standalone

Here's the email I just sent my support person (explains where I am/what I'm doing now): Given that it was necessary to build...

presque 8 ans ago | 0

Answered

Runtime errors in compiled standalone

More data: I started from scratch, i.e., I built my own project (I have been working with someone else's, and no, he's not avail...

Runtime errors in compiled standalone

More data: I started from scratch, i.e., I built my own project (I have been working with someone else's, and no, he's not avail...

presque 8 ans ago | 0

Question

Runtime errors in compiled standalone

Hi! I'm trying to figure out why my compiled standalone app, whose source runs fine within Matlab, is crashing. First I was ge...

presque 8 ans ago | 5 answers | 0

Answered

loop-less way to str2double a portion of a cell array in place?

Thanks, Matt, your example works. In my case, I needed more than simply being "pointed in the right direction": as I said in th...

loop-less way to str2double a portion of a cell array in place?

Thanks, Matt, your example works. In my case, I needed more than simply being "pointed in the right direction": as I said in th...

environ 8 ans ago | 0

Question

loop-less way to str2double a portion of a cell array in place?

Hi! I feel like I shouldn't need to ask this by now, but everyway I try doesn't work: I have a cellstr array, some elements of ...

environ 8 ans ago | 3 answers | 0

Question

Has anyone written a cascading popup-style uicontrol?

e.g., similar to what is possible w/ uicontext menus, only as a uicontrol so it can "live" in a figure or panel? (As near as I ...

environ 8 ans ago | 1 answer | 0

Question

Way to get open database cursors?

Database toolbox Q here--if that ain't your kuleana, please ignore. Say I've been "lazy" and/or "forgetful" and haven't been ...

environ 8 ans ago | 0 answers | 0

Answered

Strange database toolbox behavior

And now it's back again--any ideas re: how to diagnose this?

Strange database toolbox behavior

And now it's back again--any ideas re: how to diagnose this?

environ 8 ans ago | 0

Answered

Strange database toolbox behavior

And as suddenly as it appeared, the problem has disappeared: the "where-less" query is no longer throwing a java heap out of mem...

Strange database toolbox behavior

And as suddenly as it appeared, the problem has disappeared: the "where-less" query is no longer throwing a java heap out of mem...

environ 8 ans ago | 0

Question

Strange database toolbox behavior

I have a simple SQL Server query--SELECT [field list] FROM [in-database view]--that, with a where clause, returns the correct re...

environ 8 ans ago | 3 answers | 0

Question

Efficient way to change a struct of (mixed-type) arrays into a structure array?

Hi! Resulting from a DB query, I have a 6-field scalar struct consisting of 1522-element arrays, some cell, some numeric (if th...

environ 8 ans ago | 2 answers | 0

Question

array/cellfun vs. for loop

Are arrayfun and cellfun always faster than functionally equivalent for loops? If so, why? (E.g., is it a difference in the li...

plus de 8 ans ago | 1 answer | 4

Answered

What is missing from MATLAB?

Assignment inside anonymous functions; for example, I'd like to be able to do something like: cellfun(@(x,y) out.(x) = y, in(...

What is missing from MATLAB?

Assignment inside anonymous functions; for example, I'd like to be able to do something like: cellfun(@(x,y) out.(x) = y, in(...

plus de 8 ans ago | 0

Question

Slightly off topic: determining at the Windows system level when my process is done

Hi! In Windows7, I have a long-running process running in the command interpreter, i.e., once it's done, the OS will still see ...

plus de 8 ans ago | 3 answers | 0

Question

Invalid Addresses sendmail exception

Hi! I'm having a new problem w/ sendmail, new in the sense that I've used sendmail many times before but have never experienced...

plus de 8 ans ago | 1 answer | 1

Answered

Simulate single precision arithmetic in Matlab?

Ouch, the C program's output format bit me; it's somewhat complicated, so suffice it to say I was comparing apples to oranges (t...

Simulate single precision arithmetic in Matlab?

Ouch, the C program's output format bit me; it's somewhat complicated, so suffice it to say I was comparing apples to oranges (t...

plus de 8 ans ago | 0

Answered

Simulate single precision arithmetic in Matlab?

OK, points well-taken, so here's the nitty-gritty: In what follows, P ("big" O(1-10)), T (O(1-10)), and K (O(0.1-10)) are inp...

Simulate single precision arithmetic in Matlab?

OK, points well-taken, so here's the nitty-gritty: In what follows, P ("big" O(1-10)), T (O(1-10)), and K (O(0.1-10)) are inp...

plus de 8 ans ago | 0

Question

Simulate single precision arithmetic in Matlab?

Hi! I'm trying to replicate, in Matlab, compiled algorithms implemented in C using single-precision arithmetic; I have the C so...

plus de 8 ans ago | 5 answers | 0

Question

fastinsert returns "Numeric value out of range" error, but insert works

Hi! I have a situation where, on precisely the same data set, fastinsert is returning "Java exception occurred: sun.jdbc.o...

plus de 8 ans ago | 0 answers | 0

Question

Possible to add datatypes to database toolbox

Hi! I'm running into the "Unsupported data type" error trying to fastinsert a Matlab string into a uniqueidentifier-typed field...

plus de 8 ans ago | 0 answers | 0