필터 지우기
필터 지우기

SPM12 & Matlab: WARNING, Same name of functions.

조회 수: 4 (최근 30일)
Zaida Escila Martínez Moreno
Zaida Escila Martínez Moreno 2019년 3월 26일
Hi!
When I enter Matlab, I get multiple warnings (attached photo). I think I got them when I installed some packages to python. Apparently, some have the same name as other packages in Matlab. I was wondering what's the best thing to do about it.
Thank you!
Zaida Martinez Moreno.
  댓글 수: 3
Zaida Escila Martínez Moreno
Zaida Escila Martínez Moreno 2019년 3월 26일
Then, I believe it is not Python, but SPM (Statistical Parametrical Mapping), a software to analyze brain imaging data sequences. It is based in Matlab and should be opened inside it.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2019년 3월 26일
You have a problem. When you installed SPM12, there was a compatibility directory installed with matlab R2010b compatible functions, and those functions are interfering with your MATLAB R2018b.
You could use pathtool to move /home/zida/SPM/spm12/external/fieldtrip/compat/matlablt2010b to the end of your path, but then there is the risk that spm12 might rely upon functions in those directories being different than what you get in later versions. But you could at least try it.
  댓글 수: 4
Zaida Escila Martínez Moreno
Zaida Escila Martínez Moreno 2019년 3월 26일
Yes, you are totally right.
Here is the .txt
Screenshot from 2019-03-26 15-49-50.png
I understand that if I just simply remove all of the directories in the compat folder (as none include 2018b version) from my MatLab path, I should be ok. I will let you know how this works.
Thank you!
Zaida Escila Martínez Moreno
Zaida Escila Martínez Moreno 2019년 3월 26일
It worked perfectly.
Thank you so much!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by