hello, any one help me , the function pop_loadset didn't work
14 ビュー (過去 30 日間)
古いコメントを表示
the function pop_loadset didn't work event i download it and i added to the path by "add folder" but the problem when i run my code matlab showed me this error
function [EEG, command] = pop_loadset( inputname, inputpath, varargin)
↑
Error: Function definition not supported in this context. Create functions in code file.
0 件のコメント
回答 (1 件)
Image Analyst
2020 年 9 月 20 日
Is that in it's own m-file, or is it a function in a program with a bunch of other functions in it?
Are you sure you don't have a script at the beginning of the m-file? If so, your function must have an "end" statement to close it off.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で EEG/MEG/ECoG についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!