07-30-2014 03:16 PM - edited 07-30-2014 03:31 PM
Hello,
I am trying to convert some simulation .mdl Simulink files to .vi files using the Control, Design and Simulation Toolkit. Currently, I'm just trying to learn what the limitations of this conversion process are.
The first limitation that I have found is in the conversion of a Simulink Constant (of type int or double). The converted virtual instrument block diagram shows a constant but it is set to zero(?). Somehow, the constant loses it's Simulink value during a conversion. I have tried changing some properties and parameters in Simulink but so far I have had no luck in finding a solution. Does anyone have any thoughts or comments on this?
Additionally, I have attached both the .mdl file and resulting .vi file.
Cheers,
Abe
Software:
NI LabVIEW 2013
Mathworks Matlab and Simulink R2013b
07-31-2014 08:24 AM
Hoping someone might have something to say today,
Cheers,
Abe
07-31-2014 11:13 AM
Hello Abe,
Thank you for posting your question concerning the Simulation Model Converter. After looking through the VI and the screenshot you posted, it does appear that the constant is losing its value.
Could you please post the .mdl file as well, so we can try to reproduce the issue?
Best Regards,
08-01-2014 10:50 AM
Hi Abe,
Do you get any errors when going through the conversion process? Also, what settings are you choosing in the Simulation Model Converter?