Opened 14 years ago

Last modified 14 years ago

#1440 closed defect (fixed)

OMEdit does not try to plot results in .mat format

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone:
Component: Version:
Keywords: Cc: Martin Sjölund, Adeel Asghar

Description

I recently implemented support for using .mat format for plotting, and it works fine. But it seems OMEdit only tries to plot if .plt is selected.

I suggest removing this check and changing the default format to .mat since it should work correctly now.

Change History (1)

comment:1 by Martin Sjölund, 14 years ago

Related bug:
I broke plotting using .plt format because OMEdit uses the following syntax...
plot(Modelica.Electrical.Analog.Examples.NandGate,{der(Nand.C4.v)})

But it should use:
plot({der(Nand.C4.v)},"filename.{plt,mat}")

The output filename is given by the simulate() command.

Note: See TracTickets for help on using tickets.