필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

mupad new unit creation gives error on Evaluate all multiple times

조회 수: 1 (최근 30일)
timo
timo 2015년 11월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
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 ?

답변 (1개)

Walter Roberson
Walter Roberson 2015년 11월 1일
If delete was going to work at all, then you would need to delete unit::KiloWHour

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by