photo

Andrew Janke


Last seen: environ un mois il y a Actif depuis 2018

Followers: 0   Following: 0

Message

Programming Languages:
Python, C++, C, Java, MATLAB, Ruby, SQL, HTML, CSS, Shell, Perl
Spoken Languages:
English
Pronouns:
He/him

Statistiques

All
  • 5-Star Galaxy Level 3
  • Commenter
  • Knowledgeable Level 1
  • Solver
  • Personal Best Downloads Level 1
  • First Review
  • GitHub Submissions Level 3
  • First Submission
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
Why is the string type not implemented as standard type?
The older ways of representing arrays of strings have issues. Here's a whole blog post I wrote about it: http://blog.apjanke.net...

presque 3 ans il y a | 1

Réponse apportée
What should go in a next-generation MATLAB X?
I would like to see support for a more structured form of helptext, like Javadoc or Markdown, which could be used to produce ric...

environ 3 ans il y a | 1

Réponse apportée
What should go in a next-generation MATLAB X?
Remove the length function. Its behavior of "size along the longest dimension, picked at run time" is a little weird, most juni...

environ 3 ans il y a | 9

Réponse apportée
What should go in a next-generation MATLAB X?
Parallel array iteration! Let's say I've got some arrays in variables x, y, and z, with the same number of columns. I'd like t...

environ 3 ans il y a | 0

Réponse apportée
What should go in a next-generation MATLAB X?
Convenience thing: The fieldnames function returns a string row vector, not a cellstr column vector, so you can loop over cell ...

environ 3 ans il y a | 0

Réponse apportée
What should go in a next-generation MATLAB X?
Oh, here's one! Comments can begin with "#" in addition to "%". This would enable Octave compatibility. But I think that might...

environ 3 ans il y a | 1

Réponse apportée
Dual licensing in File Exchange - is it possible?
You are now allowed to get submissions with different license terms on to File Exchange if you publish your code to a GitHub rep...

environ 3 ans il y a | 0

Réponse apportée
What should go in a next-generation MATLAB X?
A possibly radical one: Semicolons are no longer needed to suppress display of a statement's result. Instead, output is suppres...

environ 3 ans il y a | 5

Réponse apportée
What should go in a next-generation MATLAB X?
In MATLAB X, I would like to see: An object display customization API like Python's __str__ and __repr__. (`disp` isn't suitabl...

environ 3 ans il y a | 5

Question


What should go in a next-generation MATLAB X?
Let's say MathWorks decides to create a MATLAB X release, which takes a big one-time breaking change that abandons back-compatib...

environ 3 ans il y a | 50 réponses | 11

50

réponses

Réponse apportée
Who is using the MATLAB Discord channel?
All the time. I'm in the Matlab Discord more often than I'm in my own apartment.

plus de 3 ans il y a | 1

Question


Convenient handling of datetime function arguments and class properties
Hi folks, At work, we're in the process of adopting Matlab's new datetime type. We're on R2019b currently. Our code previously ...

presque 4 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
What frustrates you about MATLAB? #2
Here's my Matlab Gripes, 2020 Year End Edition. This is coming from the perspective of someone who's primarily a software engin...

presque 4 ans il y a | 0

Réponse apportée
Close diary file on Error
The onCleanup function is what you want in modern Matlab. No try/catch to ugly up your code, and it's robust even against a dbqu...

presque 5 ans il y a | 2

Réponse apportée
Trouble Using Abstract Class from .NET Assembly
You do not need to, and in fact cannot, directly instantiate this abstract class. That's what an abstract class is: a class with...

presque 5 ans il y a | 0

Réponse apportée
Changing format of a Struct
You should consider using a Matlab table array instead of a struct for cases like this. They're more suitable for data in this f...

presque 5 ans il y a | 0

Réponse apportée
Abort external code process called by Matlab
There's no general mechanism for aborting a C# function call. The C# function has to be written specifically to support aborting...

presque 5 ans il y a | 0

Réponse apportée
How to iterate through rows of a table, such that after each iteration some computation is done and then the below row is reached?
To iterate over the rows of a table, use height() to see how high your index should go: for iRow = 1:height(r) % ... do wo...

presque 5 ans il y a | 0

Réponse apportée
Error downloading .txt or .nc files through the ftp link
Geoff is right. You're passing a URL to ftp(), when it only accepts host names. You need to do the directory navigation and file...

presque 5 ans il y a | 1

Réponse apportée
Changing the default Java TimeZone does not work with createConnectionForPool
Each of the workers in the Parallel Pool is a separate process with its own separate JVM. You need to run that java.util.TimeZon...

presque 5 ans il y a | 0

Réponse apportée
out of memory matlab runtime 2015b
Hard to say without knowing what operations your program is doing. But since you have a lot of free memory left, you might be ru...

presque 5 ans il y a | 1

Réponse apportée
How to replace a string at specific line number in a text file?
Try this: Read in the whole text file Split it on \r?\n to break it in to lines Now you have an array of lines, so you can ed...

presque 5 ans il y a | 1

Réponse apportée
Why does Matlab keep forgetting my path?
If I were you, I would give up on setting your path with pathtool or the Matlab GUI (since those try to change the path in the M...

presque 5 ans il y a | 1

Réponse apportée
My function only works in the online matlab and not on the one installed on my laptop
Check to make sure your script is not depending on any files you have in your Matlab Drive. Your Matlab Drive is available by de...

presque 5 ans il y a | 0

Réponse apportée
append several csv files into one
If you're using a newer version of Matlab, you probably want to use readtable instead of csvread. Don't forget the file extensio...

presque 5 ans il y a | 0

Réponse apportée
Urlread/Webread issue on internal network
Like the error web page says, your access to that website is being blocked by your company's network configuration. Contact your...

presque 5 ans il y a | 0

Réponse apportée
Is the Database Toolbox required for any MATLAB runtime connection to a database?
Yes, the Database Toolbox is required for database access from Matlab, unless you write your own custom replacement for it that ...

presque 5 ans il y a | 0

Réponse apportée
Converting old Compiled GUIDE application with global variables
Older versions of the MCR are still available for download. Can you not just install the older MCR version that it was compiled ...

presque 5 ans il y a | 0

Réponse apportée
How to run a standalone executable compiled in older version FROM console
Check the state of the %PATH% environment variable from within Matlab. Matlab adds its own libs to the PATH, and those libs over...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
Get pointer to underlying data in mex C++ API
That mxGetPr() call is copying the data. The MEX API changed in R2018a when Matlab switched to the "interleaved complex data mod...

presque 5 ans il y a | 0

Charger plus