Question


how insert array in field struct
Z is matrix number for i=1:width(A) A(i).b=z(:,i) end it's possibile to avoid loop?

2 years ago | 3 answers | 0

3

answers

Question


add column in table
T= struct2table(G); c=1:length(T); c=c'; i want to add c as new column of T!

2 years ago | 1 answer | 0

1

answer

Question


Assign array in field struct
class(Sis) ans = 'struct' length(Sis) ans = 82 c=1 2 3 .. 82 i want to create new field...

2 years ago | 2 answers | 0

2

answers

Question


update box with TextAeaValuechanged callback don't run
hi, when i change text in this area nothing happens Am I doing something wrong or should I select Add ValueChangingFcn ca...

2 years ago | 1 answer | 0

1

answer

Question


uidropdown : how know indices in item?
example: i select a ====> position =1 i select d=====> position =4 fig = uifigure; %dd = uidropdown(fig,"Items",P...

2 years ago | 1 answer | 0

1

answer

Question


is possible to update parameter function ?
i do an example : function xx(g) for g=1:1000 //do something end end Main xx(g); fprint(" %d ",g); end >an...

2 years ago | 1 answer | 0

1

answer

Question


uitable in app designer: format scalar and size cell table
hi, i need to resize the column of table (to use a fixed size) and i need 1.2964e+04 =====> 129640 i try to use addsty...

2 years ago | 1 answer | 0

1

answer

Question


why readtable create field "D" in the struct "D1"
function D1=TEST() D=readtable('test.txt','delimiter',','); save canc.tset D D1=load('canc.tset',"-mat") end i access it ...

2 years ago | 1 answer | 0

1

answer

Question


Is there a path in the string?
hi, a: example: f='\report\ b: example =f='c:\root\report\ how can i identify the string with case "a" or with "b"? in the...

2 years ago | 1 answer | 0

1

answer

Question


app designer: save Table when i close
hi, i want salve table when i close it which callback i call? here an example...i close this table and i want save me data

2 years ago | 0 answers | 0

0

answers

Question


enlarge the fonts of all elements in the app designer project
hi..it is possible to enlarge the fonts of all the elements without doing it individually?

2 years ago | 1 answer | 0

1

answer

Question


problem to insert date in app.BackTestperiodDatePicker.Value
hi, i want to load in my struct : Settings.StartingDate >> Settings.StartingDate ans = '01-Jan-2022' i try in werite...

2 years ago | 1 answer | 0

1

answer

Question


problem to save structura in .mat file
a.w=1; a.r="ff"; a.v=3; a.s="a.tst"; save(a.s,'-struct','a') a=load("a.tst","-mat"); i see 1X1 struct and not as origi...

2 years ago | 0 answers | 0

0

answers

Question


the best way to save .txt
hI, i want to load this data (the values ​​will be loaded into the app designer) and when i close matlab save the updated dat...

2 years ago | 2 answers | 0

2

answers

Question


use readtable and wrong data
hi, i code it: T = readtable('Predator_Setting.xlsx','Range','A1:B54') but i see Data is different

2 years ago | 1 answer | 0

1

answer

Answered
Create the matrix with aligned dates
hi, i attach file .m with data to syncronized i try to syncronized it but it give me error Someone can help me? thanks i wa...

2 years ago | 0

Question


Create the matrix with aligned dates
hi,i've this problem to solve i've a matrix of date (see pics) A (row) * B(columns) i used datetime in this matrix ...

2 years ago | 1 answer | 0

1

answer

Question


comparison between a string/or cell and categorical data
hi,i ve this problem Trading=categorical({'As is';'bla'}) B='As is'; class(B)='char' b==Trading(1) > 0 how can i com...

2 years ago | 2 answers | 0

2

answers

Question


sum filed in struct
>>Sis.PV ans = 20 ans = 20 ans = 20 Sis = 1×82 struct array with fields: Name On PV >...

2 years ago | 1 answer | 0

1

answer

Question


Scalar structure required for this assignment.
Sis = 1×82 struct array with fields: Name dailyprof cc gapp ttrange Ntradess >> class(D...

2 years ago | 3 answers | 0

3

answers

Question


Use value app designer in script.m
hi, i want to use CurrenList value (in app Designal) to use in myscript .m How can i do it?

2 years ago | 1 answer | 0

1

answer

Question


assign name row to table
Sistemi_check=table(string(K_Nome),K_idxInstrument'); LastName = {"Sanchez";"Johnson"}; Sistemi_check.Properties.RowNames=...

2 years ago | 2 answers | 0

2

answers

Question


GLOBAL VARIABLE :HOW USE IT?
hi, i want to use it in a function..example: function CaricaManageInstrument() global dd dd=5; end >> CaricaManageI...

2 years ago | 3 answers | 0

3

answers

Question


choose the purchase license
hi, my trial period is about to expire and I want to purchase the license (I don't use matlab for commercial purposes) I'm int...

2 years ago | 0 answers | 0

0

answers

Question


convert array string data in array serial number
this example clarify my problem >> size(B) ans = 463628 1 >> B(1) ans = "01/01/2008" >> datenum(B(1,:)...

2 years ago | 1 answer | 0

1

answer

Question


insert box flag in table in the app designer
this a table dataType bb=table["a",3,"zz",false] and i want to create box flag in the cloumn 4

2 years ago | 1 answer | 0

1

answer

Question


how delete .txt in file extension with uigetdir comand
selpath = uigetdir('C:\rova\','Seleziona cartella da caricare') filelist = dir(strcat(selpath,"\*.txt")); file = {fil...

2 years ago | 1 answer | 0

1

answer

Question


App Designal : write string in a culumn "A" in the table
i want to write string in culumn "A"..how i do it?

2 years ago | 1 answer | 0

1

answer

Question


calling an app designal table from an app designer button
in function OpenButtonPushed i want to call provaaa.mlap (it's a table)

2 years ago | 1 answer | 0

1

answer

Question


the conversion from data string to serial number
I have to convert from string (cell) to serial number but it's slow..is there a faster method? formatin='dd/mmm/yyyy'; for i =...

2 years ago | 1 answer | 0

1

answer

Load more