Simulink-Model-Parsing-Tools icon indicating copy to clipboard operation
Simulink-Model-Parsing-Tools copied to clipboard

name 've' is not defined

Open meghakadole opened this issue 7 years ago • 1 comments

Hello, thank you for the code. I am using Mdlparser with python3.4.4. When i run the code with example . code throws error saying name 've' is not defined. Please help

meghakadole avatar Apr 06 '18 08:04 meghakadole

My guess is that for Python 3 compatibility, you have to change line 64 from "except ValueError, ve:" to "except ValueError as ve:"

dsvf avatar Jul 04 '18 08:07 dsvf

Should be resolved by https://github.com/steventen/Simulink-Model-Parsing-Tools/pull/4

steventen avatar Jul 17 '24 16:07 steventen