photo

Benjamin Kraus

Last seen: Today 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
341 Answers

File Exchange

7 Files

Cody

0 Problems
7 Solutions

RANK
114
of 298,974

REPUTATION
1,126

CONTRIBUTIONS
0 Questions
341 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
216

RANK
2,887 of 20,664

REPUTATION
571

AVERAGE RATING
4.70

CONTRIBUTIONS
7 Files

DOWNLOADS
35

ALL TIME DOWNLOADS
5640

RANK
45,128
of 162,957

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

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

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

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

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

6 days ago | 2

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

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

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

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

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

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

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

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

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

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

20 days ago | 0

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

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

20 days 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)...

20 days ago | 1

| accepted

Answered
making the graphic smaller
Riffing off @William Rose's answer: If your goal is a specific aspect ratio in your axes, both on-screen and/or exported, you w...

22 days ago | 1

Answered
Get displayed axes limits for log scale
There is (unfortunately) no way to query the actual limits in the case you described above, but based on your last sentence, I s...

23 days ago | 1

Answered
Transfer history to MATLAB 2025a
When you start MATLAB for the first time it will automatically look for an old MATLAB preferences directory and automatically im...

23 days ago | 2

| accepted

Answered
Saveobj and Loadobj for arrays of objects
It sounds like you may benefit from switching to an object that "fakes" its size. Some examples of objects that do this (that sh...

23 days ago | 2

| accepted

Answered
Cannot position third y-axis on the right
Here is another approach for adding a third y-axis that leverages tiledlayout. tcl = tiledlayout(1,1); ax1 = axes(tcl); yyaxi...

3 months ago | 1

Answered
Is it possible to orient the legend's symbols vertically instead of horizontally?
Does this work for you? This uses only fully documented features. x = linspace(0, 10, 100); y1 = sin(x); y2 = cos(x); plot(x...

3 months ago | 0

Answered
Cannot position third y-axis on the right
The issue you are running into is that calling plot resets your YAxisLocation. ax = axes; ax.YAxisLocation = 'right'; plot(ax...

3 months ago | 0

Answered
No plot browser functionality for charts derived from matlab.graphics.chartcontainer.ChartContainer?
There is currently no way to integrate your custom charts (created by subclassing matlab.graphics.chartcontainer.ChartContainer)...

4 months ago | 0

| accepted

Answered
Multiple custom graphics object inheriting from ChartContainer
I can't reproduce this issue, but a couple things to keep in mind: Subclasses of ChartContainer are children of UI containers (...

4 months ago | 0

| accepted

Answered
ChartContainer is broken?
@Jan Kappen: This is a question that frequently comes up. Let me try to explain our reasoning for making this change. One of ou...

5 months ago | 2

| accepted

Answered
Default path issue- does path need to be set to the toolbox folder in Matlab on the Mac in Matlab 2022a?
Check if you have a redundant copy of pathdef.m: which -all pathdef If you see more than one entry (in particular, an entry th...

6 months ago | 0

| accepted

Answered
how to change axis font color?
There are several color related properties on the axes, but the one you are looking for is the XColor or YColor (or ZColor). ax...

6 months ago | 1

| accepted

Load more