Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

mupad new unit creation gives error on Evaluate all multiple times

1 visualización (últimos 30 días)
timo
timo el 1 de Nov. de 2015
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 ?

Respuestas (1)

Walter Roberson
Walter Roberson el 1 de Nov. de 2015
If delete was going to work at all, then you would need to delete unit::KiloWHour

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by