photo

Benjamin Kraus

Last seen: 3 days ago Active since 2013

Followers: 3   Following: 0

Message

Programming Languages:
C++, Javascript, MATLAB, HTML, CSS, Arduino, Shell
Spoken Languages:
English
Pronouns:
He/him

Statistics

All
MATLAB Answers

0 Questions
353 Answers

File Exchange

7 Files

Cody

0 Problems
7 Solutions

RANK
112
of 300,302

REPUTATION
1,164

CONTRIBUTIONS
0 Questions
353 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
224

RANK
2,875 of 20,911

REPUTATION
580

AVERAGE RATING
4.40

CONTRIBUTIONS
7 Files

DOWNLOADS
29

ALL TIME DOWNLOADS
5732

RANK
46,390
of 168,040

CONTRIBUTIONS
0 Problems
7 Solutions

SCORE
81

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • MATLAB Central Treasure Hunt Finisher
  • Thankful Level 4
  • 36 Month Streak
  • Solver
  • 5-Star Galaxy Level 3
  • Personal Best Downloads Level 3
  • Knowledgeable Level 5
  • Pro
  • GitHub Submissions Level 3
  • Revival Level 2
  • Explorer
  • First Review

View badges

Feeds

View by

Answered
Was java heap memory limited in MATLAB 2025b?
@Nick: Now that you've got an answer from technical support that it was a bug, let's talk potential solutions/workarounds. Have...

21 days ago | 1

Answered
UIAxes toolbar very slow just to turn off
There are two ways to "remove" the Axes Toolbar: You can set the Visibility off. Setting the Visibility of the axes toolbar req...

21 days ago | 1

| accepted

Answered
I am using quiver3, arrow heads orientation
I'm not aware of an easy solution to this problem with quiver3, but you may want to look at coneplot, which draws 3D cones inste...

21 days ago | 0

Answered
In Matlab 2025a, how do I hide a plot trace
There are several options, but I think the closest to the plot browser is to use the Property Inspector: 1. Click on the "Forma...

21 days ago | 0

Answered
Matlab calculations randomly take forever to run, not represented in tic toc
@Nathan Thompson two questions: Do you have a figure open that contains a lot of data? Are you using linkdata? I've seen an i...

23 days ago | 0

Answered
Plotting segments of a stacked bar chart to avoid duplicate legend entries
@Tim: You started by saying "It visaully works hole by hole but the legend duplicates according to the number of "objects" on th...

2 months ago | 0

Answered
How to prevent colors changing when appending new frames to a video
I'm not an exepert in MPEG-4 video compression, but my understanding is that MPEG-4 is a lossy video compression technology, so ...

4 months ago | 1

Answered
How do you match the width of figures in a tiledlayout when using axis equal?
Now that I've gone through the exercise of doing that using tiledlayout, I think I would suggest using neither tiledlayout nor s...

4 months ago | 1

| accepted

Answered
How do you match the width of figures in a tiledlayout when using axis equal?
You can do this with tiledlayout, but it is not really what tiledlayout was designed to do. Part of the core of the layout algor...

4 months ago | 1

Answered
Change data contained in a binary .mat file
You can't view a MAT-file in the Variable Editor without first loading the contents into MATLAB, so if you are seeing the conten...

4 months ago | 1

Answered
How to plot a map in pole zone?
You can use mapaxes (part of the Mapping Toolbox) to plot at the north pole. Below is an example of how you could do this using...

4 months ago | 1

Answered
How to use figure(1) in MATLAB APP
I'm curious why you are calling figure(1)? I can think of three reasons you may be calling figure(1): You want to put the figu...

4 months ago | 0

Answered
How do install 2024b and not use 2025a?
The specific release(s) of MATLAB you can install/use depend on the specifics of your MATLAB license. You should check with the ...

4 months ago | 0

Answered
App designer : Saveas save all the interface and not just the figure mentionned
The saveas command is designed to save an entire figure to a special file-format (.fig) so that it can be opened again in MATLAB...

4 months ago | 0

Answered
Is Matlab 2021b still in support?
While MathWorks will do it's best to support old releases, there are some limitations due to changes in the underlying operating...

4 months ago | 0

Answered
autocomplete filenames paths function input
I don't think it is possible to do what you are requesting using an arguments block alone without also using functionSignatures....

4 months ago | 0

| accepted

Answered
Revert the 2025 Editor taskbar icon
There is no preference to change this behavior. I will capture this feedback so we can look into changing this back in a future ...

4 months ago | 3

| accepted

Answered
How can one switch between locations of same namespace in one file system?
If you have two folders on the path that both include the same namespace folders, their contents will be merged. If there are fi...

4 months ago | 1

| accepted

Answered
A question about text string concatenation
The issue you are having is that Cruise_ID(Ind3) is a scalar string and not a character row vector. Concatenation works differe...

4 months ago | 1

Answered
plot 2D-function: x and y Range
While @Abhishek's solution is a fine solution, there is no restriction that the x and y input to the surf command are the output...

4 months ago | 0

Answered
Coloured circles on a mesh
What approach did you use to draw the rectangles? The easiest approach to drawing circles in MATLAB is using the rectangle comm...

5 months ago | 0

Answered
Assigning tstart to tic, when tic is a timer start function
As @Stephen23 said, if you have an app, storing the output from tic in a property on your app is a good approach. However, anoth...

5 months ago | 0

| accepted

Answered
catch line using callback
The function that is called by the ButtonDownFcn has the line that you clicked on as an input argument. mycallback = @(o,~) set...

5 months ago | 0

| accepted

Answered
Can't clear workspace from GUI in Matlab 2025a
I'm not sure why Clear Workspace is not available, but have you tried the clear command? Just run this in the command window: ...

5 months ago | 1

Answered
Inheritance, abstract and constant properties.
Based on this statement: What I really want is: #define foo (1) #if MY_SW_VERSION > 1 #define baz(2) #else #define baz(1) ...

5 months ago | 0

| accepted

Answered
Custom contour level labeling not working
Assuming you are using MATLAB R2022b or newer, I would recommend leveraging the LabelFormat property, which lets you specify a c...

5 months ago | 1

| accepted

Answered
Matlab not saving .mlx
Are you saving your Live Editor scripts before you exit from MATLAB Online? Note that you can run an unsaved Live Editor script...

5 months ago | 0

Answered
Version 2025a does not open the editor.
Try the answer posted in this thread and see if it works for you.

5 months ago | 0

| accepted

Answered
Adding Drop Down Control
Write your code like this: fs = 10000; t = 0:1/fs:1.5; wave = "Sawtooth"; f = str2func(lower(wave)); x = f(2*pi*50*t); plo...

5 months ago | 1

Answered
Migrate preferences to R2025a
When you start MATLAB, it first looks for a preferences directory that corresponds to your current release (in this case R2025a)...

5 months ago | 1

| accepted

Load more