Problem with monolr.m function in fraclab toolbox

3 views (last 30 days)
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).

Answers (1)

Ritish Sehgal
Ritish Sehgal on 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!!

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!