已回答
How to avoid trimming of string cells got by readtable method?
The default is 'trim' for character variables, use the detectImportOptions object to set 'WhiteSpaceRule','preserve' for the cha...

10 months 前 | 0

| 已接受

已回答
uifigure+uitree, multiple selected nodes
Does not appear to be possible; looking at the undocumented/hidden properties with <Yair Altman getundoc> reveals that the 'Mult...

10 months 前 | 0

| 已接受

已回答
Must a Function be in Scope Before Creating a Handle to It?
I believe that particular item in the documentation was written with an unstated (and perhaps not recognized having done) implic...

10 months 前 | 0

| 已接受

已回答
How to disable interactive icons on Matlab plots within App Designer?
app.Plot1.Toolbar.Visible = 'off'; See <Control Chart Interactivity>.

10 months 前 | 0

| 已接受

已回答
How to replicate Regression Learner app based training using Matlab script?
To replicate the fit, save generate the function in the learner app. To produce the identical results, set the random number se...

10 months 前 | 0

| 已接受

已回答
how to undock (not dock) script editor and figure by default in 2025a?
The <documentation> specifically states that a new session should reopoen in the configuration as presently arranged when exit a...

10 months 前 | 2

已回答
Coloring tab in AppDesigner (and getting this Ask a Question to Work in Edge!)
The only color properties exposed are, as you've already discovered, ForegroundColor and BackgroundColor, the latter applies onl...

10 months 前 | 0

| 已接受

已回答
Plot not showing the desired markers and does not match the legend
I got interrupted before able to finish up what would, like @Star Strider, be my guess of your intent. I'd rearrange something ...

10 months 前 | 0

| 已接受

已回答
Access to higher resolutions in 48MP USB camera
It says it is UVC compliant and <MATLAB Support Packages> says it will/can support USB webcams. I'd say that's your chance...

10 months 前 | 0

已回答
Edit Excel files to automatically update into MATLAB
I found a MS link that says you can open the shared file with the local desktop copy of Excel and then use COM through that inte...

10 months 前 | 0

已回答
The detectImportOptions not able to recognize and use 2nd row of a file as column name
l=readlines('data.csv') tData=readtable('data.csv','headerlines',1,'readvariablenames',1) opt=detectImportOptions('data.csv','...

10 months 前 | 1

| 已接受

已回答
Radio button issue in App Designer
Short answer is "you can't". One button in a uibuttongroup is always selected; MATLAB internal code will set the next one (in ...

10 months 前 | 1

| 已接受

已回答
Polyfit isn't returning linear gradient and intercept
testx = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] testy =[4, 6, 8, 10, 12, 14, 16, 18, 20, 22] [PolyCoeff] = polyfit(testx, testy, 1) W...

10 months 前 | 2

| 已接受

已回答
Combining one matrix into another that are of different sizes
Given V =[ 0 1 0 0 0 0; -1 0 0 0 0 0; 0 0 1 0 0 0; 0 0 0 0 1 0; 0 0 0 -1 0 0; 0 0 0 0 0 1]; ...

10 months 前 | 1

| 已接受

已回答
Switching values around in a matrix
A = [2 5; 9 7; 10 2; 3 2; 1 9]; % option A B=A.'; B=B(:) % B=A.'(:); is invalid MATLAB syntax, unfortunately. (Octave allows t...

10 months 前 | 2

已回答
How to change the background color of uiradiobuttons?
UPDATED -- CORRECTED EARLIER USE OF UIBUTTON() INSTEAD OF UIRADIOBUTTON() It turns out for some reason the BackgroundColor prop...

10 months 前 | 0

已回答
How to make a tiled figure, in which the tiles have figures with multiple x and y axes?
I don't think you'll be able to do this with tiledlayout. It has some additional features that subplot doesn't, but it also has...

10 months 前 | 0

已回答
How to undock windows by deafult?
Manually rearrange as you wish and then exit; it will reload as they were last set.

10 months 前 | 1

| 已接受

已回答
Creating a grouped bar plot from a table having multiple column
VNames=["ValuationRatios","company","industry","sector"]; VR=[ "P/E Ratio" "Price/Revenue" "Price/Book" "Price to Cash F...

10 months 前 | 0

已回答
How can I declare Hexadecimal enum constants in a classdef
To enter constants in hex base for documentation purposes (consistent with a vendor's data sheet, perhaps) with MATLAB prior to ...

10 months 前 | 0

已回答
Title issues when plotting
In title(['Plate ' InputSheet;'Grain Size' string(Grain(n));... the semicolon is trying to concatenate two char() strings ver...

10 months 前 | 0

已回答
Issue transposing a matrix inside of a timeseries
This is unavoidable with the timeseries object given its internal design and restrictions on dimensions compatibilities. See th...

10 months 前 | 0

| 已接受

已回答
Help with Inequalities In Switch Statement
See the Tips section of switch, case, otherwise that notes Tips A case_expression cannot include relational operators such as ...

10 months 前 | 0

已回答
Drawnow for a single element (uilabel)
Use an indeterminate progress dialog and update the .Message property; it will be updated w/o the drawnow. I use it to show pro...

11 months 前 | 1

已回答
i am trying to read excel file from D drive under name mirror1 to put values in app.EditData.Value it gives parse error.thanks alot
Delete the "end" that you manually entered from the callback function, it's superfluous because app designer builds the function...

11 months 前 | 0

已回答
Can uigetfile function be used to return file name & location for a file that is already open?
I cannot reproduce the symptom here. uigetfile returns the filename and path as expected even if the workbook is open in an Act...

11 months 前 | 0

已回答
MATLAB standalone application compiler - code obfuscation
When MATLAB Compiler or Simulink Compiler creates an standalone executable, all the files required for that application are bund...

11 months 前 | 1

| 已接受

已回答
How to identify city names from shapefiles with coordinate bounds provided
One would have to have the coordinates of the cities with their names as an auxiliary database. The MATLAB Mapping Toolbox <con...

11 months 前 | 0

| 已接受

已回答
Differences in C Code Generation for Switch blocks between Matlab 2021b and Matlab 2024b
As a proprietary product, The Mathworks can choose any implementation they wish that produces the correct end result; the coding...

11 months 前 | 0

已回答
Are Regression Models Deterministic?
By default, the toolset uses bayesopt so the selection is, indeed, randomized. Unless the data are virtually noiseless, one can...

11 months 前 | 0

| 已接受

加载更多