- You have a different version of the toolbox.
- You are shadowing Logger.m with some other file.
- or the file was corrupted somehow.
加载Homer3提示出错
13 次查看(过去 30 天)
显示 更早的评论
>> Homer3
Error using Logger
Error: File: Logger.m Line: 206 Column: 22
The input character is not valid in MATLAB statements or expressions.
Error in Homer3 (line 35)
logger = Logger('Homer3');
5 个评论
DGM
2024-10-17
编辑:DGM
2024-10-17
If you don't have an unrelated file called Logger.m, you can try inspecting the one you have to see if it's messed up or different than what I posted. Simply
open Logger.m
and look at line 206.
Considering that I can't see why any function file would intentionally have invalid characters in the code, I suspect that the file simply may be damaged. That's just a guess though.
EDIT: I just attached the copy that I have. The file should be in Utils/Shared/Logger.m within the Homer3 directory (wherever you put it). This is from version 1.87.0
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!