cwipf / SimulinkNb

NoiseBudget toolbox for Simulink
3 stars 5 forks source link

buildOptickleSys needs input type checking #23

Open cwipf opened 9 years ago

cwipf commented 9 years ago

This function expects its arguments to be strings (name of model, name of frequency vector). If you pass it an actual frequency vector instead of a string, it has quite a surprising failure mode: it silently converts the frequency vector to a long string of Unicode gibberish. It should, of course, reject this input with an understandable error message.