topoplot function is undefined

47 ビュー (過去 30 日間)
Denise Dal Lago
Denise Dal Lago 2022 年 10 月 6 日
回答済み: Adam Danz 2022 年 10 月 6 日
Hi, I am trying to use the function topoplot to plot EEG data in a 2D figure.
figure(1), clf
topoplot('variable',EEG.chanlocs);
title([ 'Topoplot from time=' num2str(EEG.times(time2plot)) ' ms.' ])
But it comes up the following error:
Undefined function or variable 'topoplot'.
How can I fix that?
(Matlab 2019a)

回答 (1 件)

Adam Danz
Adam Danz 2022 年 10 月 6 日
topoplot is not a function provided by MATLAB (r2022b). A google search for "matlab topoplot" shows several 3rd party functions with that name such as this one and it's git hub files. But the first argument seems to be a numeric vector in those files while your first argument is a character vector.
  1. Find the right file
  2. Make sure your inputs are correct.

カテゴリ

Help Center および File ExchangeBiomedical Signal Processing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by