Problem with monolr.m function in fraclab toolbox

조회 수: 1 (최근 30일)
daniele
daniele 2022년 10월 15일
답변: Ritish Sehgal 2022년 11월 18일
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).

답변 (1개)

Ritish Sehgal
Ritish Sehgal 2022년 11월 18일
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!!

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by