I have done a Simulink model with Matlab and connected it with my LabView application using the Simulation Interface Toolkit. At first all seems to be fine, but when I start sending a value to the model, Matlab sends an error message that the value is not possible to evaluate. I think the problem is that my LabView application send the decimal numeral value in the comma-separated format (ex: 5,3 ), which is not acceptable for the Matlab/Simulink model. My question is, how it is possible to change comma-separated format to point-separated format in LabView application without changing the language settings of Windows (I am writing from the eastern part of Europe, where the decimal separator is comma).
It depends on the conversion function, some have a boolean input where, if it has a format string you should start the string with '%.;' (without the quotes)
I am using SIT connection manager (under Tools menu) to connect the LabView8.2 application with Simulink, so after mapping it generates the block diagram. The problem is that I can only map directly a control (slider, guage etc.), but not after modifing its value. The strange thing is that the generated block diagram is not connected with control blocks at all (I think it must be like that, because values are reaching to Simulink model). The comma problem still exists.
Below is my application. On the front panel are 2 sliders and controls to activate the Simulink model. On the left bottom corner is the SIT connection Manager which generated the code into the block diagram view. Somehow program takes values from sliders and forwards them to the model. But these values are comma-separated and causes Simulink model to stop with error. How can I make these values as point-separated values?
however their is a setting for LabVIEW to use not the local decimal sign: Tools->Options->Front Panel-> Use localized decimal point Maybe you can use this one (or force simulink to use the ','