Topoplot function is undefined...

Hello all,
Regarding the function below:
figure(1), clf
topoplot(data2plot,EEG.chanlocs);
title([ 'Topoplot from time=' num2str(EEG.times(time2plot)) ' ms.' ])
Whenever I enter this function, it gives me this:
Error: Undefined function or variable 'topoplot'.
Does anyone have any advice on how I can overcome this?
Kind Regards,
Emre Yavuz

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 7월 4일
편집: KALYAN ACHARJYA 2019년 7월 4일

0 개 추천

Topoplot function is custom function (user defined), not the Matlab inbuilt function. May be you are looking for this Topoplot function (Keep it in the same current working directory and rerun the code)

댓글 수: 5

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 7월 4일
편집: KALYAN ACHARJYA 2019년 7월 5일
If the question is answered?
If not, let me know? Please note: member answered the question based on your question descriptions.
Stephen23
Stephen23 2019년 7월 5일
Emre Yavuz's "Answer" moved here:
I have tried the link you sent me above, and yes when I entered the code with the % sign added, it no longer gave me the 'function is not defined'. However, the plot was still not appearing, just an empty box...
KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 7월 5일
편집: KALYAN ACHARJYA 2019년 7월 5일
I assumed that, you know the basics of Matlab ( % sign added means that line will not execute), where you keep the % sign, clarify, do share the complete code.
Now the original question (Topoplot function is undefined) has resolved,
Regarding another extention question (However, the plot was still not appearing), please ensure that you are plotting vectors. Please do share detail of plot variables (whos of plot variables)
Sachin Motwani
Sachin Motwani 2020년 10월 16일
The provided lunk is not working anymore. Can you please share another link?
Denise Dal Lago
Denise Dal Lago 2022년 10월 6일
I have the exact same problem. And, the link above seems not being working anymore. Could you share another link? Thanks

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

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

질문:

2019년 7월 4일

댓글:

2022년 10월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by