回答済み
Can I access my Matlab license online without installing on my laptop?
You can get your IT admin to install it for you. However you can access MATLAB online, if you have an eligible license. https:/...

約4年 前 | 0

回答済み
Untar specific files inside a .tar file
You will have to use java for this. A minimum working example is as follows (tested on R2020b). tarpath = fullfile(pwd,'abc.t...

約4年 前 | 1

| 採用済み

回答済み
Reading settings for an app from text file
It would be easier if your text file complies with existing standard, such as JSON or XML. Matlab has built in function for JSON...

約4年 前 | 0

| 採用済み

回答済み
2 matrix combining first column and second
You can use the functions repmat and repelem. if true A = [1 2 3]; B = [5 6 7]; A = repelem(A,1,length(A)); ...

約4年 前 | 0

回答済み
How do I use rand() to generate two vectors with n number of elements?
vector = rand(10000,1)*100; % if you want integers vector = randi(100,10000,1);

約4年 前 | 0

回答済み
Unstack table and NaN values
The remaining variables are used by unstack as grouping variables. You should exclude them when calling unstack. T = cell2table...

約4年 前 | 3

| 採用済み

回答済み
Linking plotbox sizes in App Designer
You can try placing axes inside the uipanel. That way you would still be able to use the position property of the uiaxes.

約4年 前 | 0

回答済み
ginput tic tac toe
You can set xlim and ylim for your axes to [0 3]. Then you can get the [x,y] = ginput(1). Another option would be to use 9 ...

約4年 前 | 0

回答済み
compiled matlab .net assembly doesn't work on different computer
You need to install the MATLAB runtime to use the .net assembly.

約4年 前 | 1

回答済み
How to perform logical AND on intervals of contiguous locations
You can group based on the values of x. gid = cumsum(x ~= circshift(x,1)); if(gid(1) == 0) gid = gid + 1; end a = splitappl...

4年以上 前 | 0

回答済み
How to Import/parse sparse data from a text file into MATLAB?
After some testing, it seems your file can be read by setting delimiter to 3x spaces. You can combine this with the rest of you...

4年以上 前 | 0

| 採用済み

回答済み
Make App designer app files inaccessible
According to MATLAB documentation, protecting simulink model requires simulink coder license. References https://www.mathwork...

4年以上 前 | 0

| 採用済み

回答済み
Unevenly Map Data to an RGB Map?
You can use the colormapeditor GUI to interactively create the colour map. https://www.mathworks.com/help/matlab/ref/colormap...

4年以上 前 | 0

回答済み
Passing varibales between two callback in GUI
Use the function setappdata and getappdata instead. An example is shown here in the documentation. https://www.mathworks.com/h...

4年以上 前 | 1

| 採用済み

回答済み
Invalid training data. The output size (8) of the last layer does not match the number of classes (6).
Your final layer has 8 outputs, however your image data store only has 6 labels / classes. If you expect there to be 8 classes, ...

4年以上 前 | 0

回答済み
Unable to run two function simultanously under App Designer
MATLAB is single threaded, if you wish to run tasks in parallel, you have to use parpool from parallel computing toolbox.

4年以上 前 | 0

回答済み
How to randomize the order of training images of a CNN?
if isShuffleable(Train_imds) newds = shuffle(Train_imds); disp('Shuffling successful.') else disp('Datastore is ...

4年以上 前 | 0

| 採用済み

回答済み
strange cell array to matrix
Use the function readtable (or readmatrix) to load your file. opts = delimitedTextImportOptions('NumVariables',2,'Delimiter',';...

4年以上 前 | 0

回答済み
Problem allocating 24 workers using parpool
Perhaps you can try core = feature('numcores'); pool = parpool('local',core); disp(['Pool has been started with Num Workers '...

4年以上 前 | 0

回答済み
Copy files, save the content, and change files name from code
From your question i assume the names in cell array are without the extensions. ext = '.dat'; %Cell_Array_A %Cell_Array_B f...

4年以上 前 | 0

回答済み
Import series of CSV files and perform data crunching
You need to set the NumHeader Lines to ignore the first 6 lines. folderwcsv = 'somepath'; csvs = dir(fullfile(folderwcsv,'*.cs...

4年以上 前 | 0

| 採用済み

回答済み
Read and sort data in a text file
You can use the readtable function. It will autodetect the variable types. tab = readtable('myfile.txt'); tab = sortrows(tab,{...

4年以上 前 | 0

| 採用済み

回答済み
MATLAB Runtime licensing for a commercial product
From Matlab Website https://www.mathworks.com/products/compiler.html#encrypted-royalty-free https://www.mathworks.com/company/...

4年以上 前 | 0

回答済み
Compiling large nested folder structure
You need to add the folder and sub folders to the path before compiling. Example add folder b and all its sub folders to the pa...

4年以上 前 | 0

回答済み
How to get rid of two consecutive double quotes from my string?
if true % remove double quotes somestr = regexprep(somestr,'"',''); Numarray = char(somestr) - '0'; end

4年以上 前 | 0

回答済み
Image resizing using augmentedImageDatastore
The last argument to split each label is not spelled correctly. It's splitEachLabel(___,'randomized').

4年以上 前 | 0

回答済み
how to read imge from my subfolder ?
You need to include the folder name as well. % currentfilename = fullfile(d(i).folder,d(i).name); image{i} = imread(fullfile(d...

4年以上 前 | 1

回答済み
How to use values from .mat file (nested struct) dependent to the variable name of value
There are quite a few options. One option is to use the structfun to apply a function to each field of the function as follows. ...

4年以上 前 | 0

| 採用済み

回答済み
Change table of structs into columns of data in a table
Based on your example data this will work. All structs must have the exact same fields, otherwise this will fail flattened = st...

4年以上 前 | 0

| 採用済み

回答済み
read each line of a text file and storage each into an array
The easiest way would be to read the entire file, then use string functions to extract what you need. The following should woul...

4年以上 前 | 0

さらに読み込む