Community Profile

photo

FM


Last seen: 17 days ago Active since 2018

Statistics

  • Thankful Level 4
  • First Review
  • First Answer

View badges

Content Feed

View by

Answered
Testing Bash variable to decide whether to use MATLAB or Runtime
The answer is that I need spaces not just around the square brackets, but also around the equality test: #!/bin/bash # The 2...

7 months ago | 0

| accepted

Question


Testing Bash variable to decide whether to use MATLAB or Runtime
I am using a Bash script to test a Java package created from an m-file function using Compiler SDK. I want the script to use ei...

7 months ago | 1 answer | 0

1

answer

Question


Swap out Matlab/Runtime folder tree, tar won't ceate symlink
I am on an Ubuntu VM (VirtualBox). I created the VM with limited disk space. I find myself switching between different version...

7 months ago | 0 answers | 0

0

answers

Question


cell2table: Preserve cell type when column contains numbers and strings
I am using Component Object Model (COM) to export tables to Excel List Objects. I have many layers of m-file functions to do th...

10 months ago | 2 answers | 0

2

answers

Answered
regexprep: Nested ordinal token not captured
If table "tFolderInSelf" contains a column "Path" consisting of a vertical vector of strings, then the following code truncates ...

11 months ago | 0

Question


regexprep: Nested ordinal token not captured
I am trying to modify file paths with consecutive repeated folder names, e.g, "archive" is repeated in "Clients/archive/archive/...

11 months ago | 2 answers | 0

2

answers

Question


Case insensitivity for keys in outerjoin and ismember?
Is there any way to have "outerjoin" ignore the letter case of string "key" fields (or cell arrays of characters) in "outerjoin"...

11 months ago | 1 answer | 0

1

answer

Question


Matlab examples of "regexp" where "expression" is a string array or cell array of characters?
The documentation for regexp seem to only illustrate use cases for which the "expression" argument is a single regular expressio...

11 months ago | 1 answer | 0

1

answer

Question


Bar graphs don't group bars if there is only one group in the data
I have a lot of bar graphs to plot. The bars must be grouped into pairs. If the number of pairs is one, then grouping doesn't s...

12 months ago | 1 answer | 0

1

answer

Question


Accessing Excel object methods through COM, how to skip optional positional arguments
I am using the Component Ojbect Model (COM) interface to Excel. The following is a protoype of a method that accepts both posit...

1 year ago | 0 answers | 0

0

answers

Question


Specifying "MergeKeys" for "innerjoin"
I wonder what people feel about incorporating a MergeKeys option into "innerjoin", similar to what is available for "outerjoin"?...

1 year ago | 1 answer | 0

1

answer

Question


"char" doesn't always maintain orientation of input array
The "char" function maintains orientation of input arrays except for categorical arrays: >> categorical(["A" "B"]) ans = 1×2 c...

1 year ago | 1 answer | 0

1

answer

Question


"renamevars" doesn't return output
I tried renaming a table variable, first without assigning the new table to a destination, then assigning to a destination: >> ...

1 year ago | 1 answer | 0

1

answer

Question


Matlab deployment to Linux: What are the library paths for?
I am updating a package that was developed for invocation from Java on Linux. I noticed that my script for invoking Java compil...

1 year ago | 0 answers | 0

0

answers

Question


Place text on a subplot: Any way to autowrap?
I used the "text" command to place text onto a subplot. I have to insert line breaks manually, which I would like to avoid. Th...

1 year ago | 0 answers | 0

0

answers

Question


Where is the relative gap from cplexbilp?
I am invoking "cplexbilp" (CPLEX 12.9) from Matlab R2022a. I request all 4 return arguments: [x,fval,exitflag,output] = cp...

1 year ago | 0 answers | 0

0

answers

Question


CPLEX/MATLAB compatibility
In past years, I have succeeded in calling CPLEX 12.9 from MATLAB 2019a (or maybe 2015a/b, it's been so long). I recently upgra...

1 year ago | 0 answers | 0

0

answers

Answered
Minimal-code to get axes limits of log-log plots, but using gscatter
Based on Fabio's approach, here is my final solution, using a utility function "Dat2LogLim.m": % Dat2LogLim.m %-------------- ...

1 year ago | 0

Answered
Minimal-code to get axes limits of log-log plots, but using gscatter
Hi, Fabio, Here is the set of data that seems to reveal differences between "loglog" layout and your two suggestions for "gscat...

1 year ago | 0

Question


Minimal-code to get axes limits of log-log plots, but using gscatter
I used to specify scatter plots using loglog(X,Y,'o') to plot little circles at the data points. Now, gscatter(X,Y,GroupVector,...

1 year ago | 3 answers | 0

3

answers

Answered
"doc cmp": Help browser stuck at "Processing"
The bat365 suggested a fix that worked for me. The solution was to delete temporary files: Type in %Temp% in the Windows exp...

1 year ago | 0

| accepted

Question


"doc cmp": Help browser stuck at "Processing"
My organization just upgraded me to Matlab 2022a. "doc table" works, but "doc cmp" causes the help browser to be stuck at the m...

1 year ago | 1 answer | 0

1

answer

Question


Apply "whos" to fields of a struct to get their sizes?
The command "whos" shows the sizes (in bytes) [of the data objects/variables in the base workspace. Is there a way to get that ...

1 year ago | 1 answer | 1

1

answer

Question


For consistency with "nan", wouldn't it be nice to be able to issue "missing(3)"?
<Missing> is the string counterpart to NaN. One can define a (say) 3x3 array of NaN's. Each NaN can be replaced as the data is...

1 year ago | 1 answer | 0

1

answer

Question


Can writetable delimit strings using single-quotes?
I am using writetable to export to CSV. All strings are delimited with double quotes. Is there any way to have strings delimit...

1 year ago | 1 answer | 0

1

answer

Question


Matlab & Cygwin X-windows terminates abruptly, Firefox and Outlook do not
I'm executing many-day Matlab jobs on Windows10. On two successive occassions, when the job has run for about a day, I found th...

1 year ago | 0 answers | 0

0

answers

Question


Random triplets not asymmetrically distributed
I would like to generate many triplets whose values are drawn from {0.1, 0.2, ... 0.9}. I also want each triplet to sum to 1.0....

1 year ago | 2 answers | 0

2

answers

Question


Recompose stacked column cell vectors into adjacent row cell vectors
I have a row array of cells, varargin, within a function. The contents of each cell corresponds to an argument supplied by the ...

1 year ago | 1 answer | 0

1

answer

Question


Deploy Java wrapper around m-file wrapper around a mex file?
I have successfully used Compiler SDK to deploy a Java wrapper around my home-made m-file wrapper around "intlinprog" (more than...

1 year ago | 0 answers | 0

0

answers

Question


Single extension not everywhere?
According to the following page, MATLAB 2019a should have automatic singleton extension: https://blogs.bat365/loren/2016...

1 year ago | 1 answer | 0

1

answer

Load more