LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Whats the best way to translate large Simulink diagrams?

I'm translating a large Simulink diagram to LabVIEW with the new simulation module. I'm wondering if it might be better to cut out subsets of the Simulink diagram, translate them independantly, then edit the separate pieces together again in LabVIEW instead of just doing it in one gigantic process. Does anyone have any good hints on translating Simulink to LabVIEW?
0 Kudos
Message 1 of 3
(3,083 Views)
I would choose to do a translation of just a single large model file, mostly because that way when the translation is done I don't have to start connecting the models together. If you are using linked subsystems I would remove the links first in order to create just one model file. Translating one large file will take longer then translating one small file, but I don't think the difference between one big file and several small files will be significant.

Also the results of the translation will be a lot better if you have Simulink available on the computer. If Simulink is available the translation tool can run your initilization file as well as evaluate the expresions in the model. Otherwise some of the parameters will have default values.

Carl L
National
Instruments
www.ni.com/ask
0 Kudos
Message 2 of 3
(3,083 Views)

I'm working on the same, but it shows an error saying the memory is full.... it's impossible, I don't know what is wrong...

 

Moreover, I wonder if simulation translator can covert .mdl with C code inside some blocks... do you know about it?

 

and finally, do I have to inizialate the values in Matlab, or I can insert them in Labview?

 

thank you very much

0 Kudos
Message 3 of 3
(2,674 Views)