|
"Simon " <simonb@kdsolutionsgroup.com> wrote in message <h9gbi5$j7a$1@fred.mathworks.com>...
> I have a multi-rate discrete Simulink model with a number of continous time transfer functions that were discretized with the Control design/Model Discretizer Tool. I cannot run my model because Matlab thinks the blocks are continuous. The model has run just fine previously on Matlab R2008b, now I'm using R2009b. I believe it is because the "c2d" transform cannot see the discretized sample times, which are defined in the base workspace. It does not help to add them to the model's workspace where the actual blocks are. I do not wish to hardcode the sample times or redefine the blocks as discrete from the outset.
>
> Any ideas - Thanks!
>
>
Simon,
I would like to help you, but I am not sure I understand what exactly happens. Usually new releases should be backward compatible unless a bug has been fixed. If results are different for the same model and data, I would like to see that and understand why.
About model and base workspace, Simulink always first in the model workspace and after in the base, so adding similar variables in the model and base should not change anything.
please give me more details ansd Il see f I can figure out what happens.
Guy
|