Info
此问题已关闭。 请重新打开它进行编辑或回答。
mupad new unit creation gives error on Evaluate all multiple times
1 次查看(过去 30 天)
显示 更早的评论
I define a new unit with Mupad
delete kiloWHour;
unit::newUnit(kiloWHour= unit::kiloW*unit::hour)
The problem is that every time I evaluate my notebook from start it gives me an error that the unit is already defined The first delete doesn't do anything. Is this bug in MUPAD ?
0 个评论
回答(1 个)
Walter Roberson
2015-11-1
If delete was going to work at all, then you would need to delete unit::KiloWHour
2 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!