Problem with monolr.m function in fraclab toolbox

1 Ansicht (letzte 30 Tage)
daniele
daniele am 15 Okt. 2022
Beantwortet: Ritish Sehgal am 18 Nov. 2022
I have a problem with fraclab toolbox. When I use the estimators for the Pointwise Holder Exponent I must select the type of regression. If I select "Least Square" I obtain the follow error:
Execution of script monolr as a function is not supported:
/Applications/MATLAB_R2021a.app/toolbox/matlab/FracLab/Programs/monolr.m
Error in fl_monolr (line 36)
[a_hat,b_hat] = monolr(x,y,RegType,u{:});
Error in estimGQV1DH (line 117)
[alpha1] = fl_monolr(t,log2(V(i,:)),regparam{:});
Error in fl_estimGQV1DH_compute (line 254)
eval(chaine);
Error while evaluating UIControl Callback.
Indeed, in monolr.m function don't exist a code..... exist only a comment code with examples, description of code, etc. But don't exist the code of function! How can I fix this problem? Where I can find the code of this function? (I downloaded the package again and there is no such function yet).

Antworten (1)

Ritish Sehgal
Ritish Sehgal am 18 Nov. 2022
I understand that you are facing an error while executing a MATLAB script with a Third-Party toolbox ‘Fraclab’.
Generally, this error arises due to the presence of a custom script which in your case seems to be “monolr.m”.
Since Fraclab is a Third-Party toolbox, I assume that ‘monolr’ is one of its built-in functions. Calling the script “monolr.m” interferes with the calling of built-in function ‘monolr’.
You can follow below steps:
1) Run the below command in your MATLAB command window:
>> which -all monolr
This will show you multiple files. The first one will likely be the file created by you.
2) Rename your “monolr.m” script to some other name to avoid the name conflict
You can also use the “exist” command to check for the filename conflicts with the built-in functions.
You can refer to the documentation for the same.
Hope it helps!!

Kategorien

Mehr zu Downloads finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by