Beantwortet
In R2024b, handles(33) throws an error. In R2023b in returns a structure if there is a figure 33. Is there a workaround in R2024b?
figExists=@(n)~isempty(findobj('Type','Figure','Number',n)); should work no matter the version. Nota Bene: all these work only...

11 Monate vor | 0

| akzeptiert

Beantwortet
Plus as concatenate for numeric vectors?
No it's not new. In that expression the plus sign is interpreted as the sign of the value, not as an arithmetic operator. It's...

11 Monate vor | 1

| akzeptiert

Beantwortet
Why is this showing the first fprintf statement?
You would have to rerun the code to enter the other condition to do the else if clause instead of the first. chosenstat will on...

11 Monate vor | 0

Beantwortet
How can I make an if statement based on the answer of an input?
Couple of issues here. As the documentation for input shows, the form as you've written it tries to evaluate the user input as ...

11 Monate vor | 0

| akzeptiert

Beantwortet
check out a matlab code method
Would be more helpful to see more of the function context, but a couple of recommendations Firstly, for the diagnostics, parame...

11 Monate vor | 0

Beantwortet
New Pixhawk Cube Orange+ hardware incompatible with MATLAB PX4 Toolbox (PX4 v1.14.x)?
"Is MathWorks aware of this issue ...? A search for "Pixhawk" on <the public bugs database> didn't return anything, but that do...

11 Monate vor | 0

Beantwortet
How do I stop exportgraphics from adding a border
That would be expected behavior... Background color, specified as 'current', 'none', an RGB triplet, a hexadecimal color code, ...

11 Monate vor | 0

Beantwortet
As of R2025ab, are all figures now uifigures?
This appears to be a result of the replacement of Java for rendering... which -all matlab.ui.internal.isUIFigure fn=which('mat...

11 Monate vor | 2

| akzeptiert

Beantwortet
pcolor plot: how to scale the smoothing differently in x and y directions
"... instead of considering x and y distances, I want somehow to consider the distance at an angle" A = [0 0 0 0 0 0 0 0 2...

11 Monate vor | 0

Beantwortet
Indexing in a matrix vs vector
There's nothing preventing addressing a row vector by its row, column indices... x=1:3; for i1=1:height(x) for j1=1:width(x...

11 Monate vor | 1

| akzeptiert

Beantwortet
MatLab App versus MatLab Compiler Runtime version requirements
My experience has been the installer will find and download the needed runtime if it isn't already on the system. Also by obser...

11 Monate vor | 0

Beantwortet
Regarding MATLAB Associate certification
https://www.mathworks.com/matlabcentral/answers/2049937-what-is-the-price-of-the-matlab-and-simulink-associate-and-professional-...

11 Monate vor | 0

| akzeptiert

Beantwortet
In R2025a, how to add Additional Fonts?
Now MATLAB is supposed to be able to find any compatible system-installed font. See <Add Additional Fonts> for information on w...

11 Monate vor | 0

| akzeptiert

Beantwortet
print hexadecimal representation of 16 bit word
Somewhat dependent upon the context, but some options include V=65535; fprintf('%s\n',dec2hex(V)) % convert to internal s...

11 Monate vor | 3

Beantwortet
Switching from hist to histogram
The changes in behavior relative to venerable hist introduced by histogram are a pain, agreed. That there isn't an option to sp...

11 Monate vor | 0

| akzeptiert

Beantwortet
mairplot throws uimenu error
%type mairplot.m I looked into mairplot and it starts the working part of the function with the following lines-- hFig = figur...

11 Monate vor | 0

Beantwortet
whats wrong in this function?
OK, try this... function [massetetthet]=beregn_massetetthet_mettetsaltlosning(salt_1, salt_2, temperature) % take care of po...

11 Monate vor | 1

Beantwortet
Matlab crash on startup
As @Dyuman Joshi pointed out in your earlier posting, Kubuntu 25 isn't on the list of supported OS so there's no unequivocal bas...

11 Monate vor | 0

Beantwortet
What is the best practice to understand the source code of MATLAB's built function ?
Let's first reformat the code to be more legible... function [Tx,freq,analysisParam,params] = wsstImpl(x,fsOrTs,namedargs) arg...

11 Monate vor | 0

| akzeptiert

Beantwortet
Trying to compile raw data from 30 tests to form an average stress strain curve.
NOTA BENE: The path below has an extraneous 'd' at the beginning; if this is present in your real case the subsequent directory...

11 Monate vor | 1

Beantwortet
I need instructions for using matlab learning resources
While "Self Paced", the other courses in the learning path are not gratis unless you are at a university or corporate entity tha...

11 Monate vor | 0

Beantwortet
Editing the format of a chart title in excel through actxserver
OK, I had a little time to go poking at the Excel doc -- it turns out this is one of those cases where the documentation describ...

12 Monate vor | 0

Beantwortet
Spooky Graphed Data?
Longstanding behavior -- the datatip values are rounded to some (as far as I know an unspecified) number of significant digits; ...

12 Monate vor | 0

Beantwortet
How can I make 3d shaped graphs?
help graph3d

12 Monate vor | 1

Beantwortet
MatLab 2025 Variables Window
It is irrevocable that Mathworks is committed to the new desktop going forward. I would recommend <What's behind the new deskto...

12 Monate vor | 0

Beantwortet
Change directory for printing Command window to PDF
I can find no defined settings for the Command Window print function; one would think there should be a way to select the output...

12 Monate vor | 0

Beantwortet
How to add an image with overlaid text using System Object method getIconImpl(obj)?
As you're aware, there's no indication of support the syntax you propose of more than one argument to matlab.system.display.Icon...

12 Monate vor | 1

| akzeptiert

Beantwortet
MATLAB Online: PNG exports are solid black rectangles + tiny EPS/FIG files — anyone else?
I think you'll need to submit this to Mathworks as an official support request/bug at <Product Support Page>. You'll need to pr...

12 Monate vor | 1

| akzeptiert

Beantwortet
Is there any way to increase the fonts of the menus in Matlab 2025a for Linux?
Undoubtedly the difference in behavior is related to the new desktop. Submit this to Mathworks as an official support request/b...

12 Monate vor | 0

Beantwortet
Why Doesn't a Symbolic Matrix Equation Simplify Until After Applying subs() ?
I'd suggest your best chance for a definitive answer plus for there to be any chance of behavior more as you would like you shou...

12 Monate vor | 0

| akzeptiert

Mehr laden