11-18-2008 04:06 PM
Hi,
I want to convert a complex Simulink Simulation with many subsystems into LabVIEW VI. One Problem I have is the one in the subject. I attached a simple example Simulink file and the result of the "Simulation Model Converter" where my problem occurs.
In this example I have two equal block diagrams, with the differnce, that the one below uses a subsystem (that only contains a gain). But why is the data inside the sub system a 1D array? Is that necessary? If I change the array by hand into a normal constant, the simulation still works. Is there a way to prevent this wrong conversion.
Thank you
11-19-2008 04:35 PM - edited 11-19-2008 04:36 PM
Hello Talvi,
I am guessing that you do not have Simulink installed on the computer where you are doing the conversion. If you do the conversion on a computer where Simulink is installed, you will get better results. This is mentioned in the help topic: Using the Simulation Model Converter. If you are still having trouble, can you please let us know which versions of the software involved you are using?
Regards,
Angela M
Product Support Engineer
11-20-2008 04:13 PM
Hi,
no, there ist Simulink installed. I use different Computer one with LabVIEW 8.5 and Simulink R 2007a and an other PC with LabVIEW 8.2 and Simulink R2006b. I found out that, if I have a new build Simulink simulation and do the conversion bevor I run the sim the first time, it is converted correct. But if I run the Simulink sim first and then convert it into LabVIEW, than the converter creates the 1D array instead of a normal constant.
Kind regards,
Peter T