LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading script files and loading .MAT files

I am having problems reading script files which contains some stored variables and laoding a .MAT file to load another set of variable. What should I do?
0 Kudos
Message 1 of 2
(2,530 Views)
Hi Ian,

It would be much easier to give you advice if you provided us with more information about why you are doing what you are doing, what part doesn't work and what errors you are getting.

However, looking at your code my first suggestion is to use 'path' as the data type for the "filename" input instead of 'string'. Also try to specify the absolute path to the .mat file. To do this the easiest, replace the string constant with a 'Path Constant' and then choose 'Change to Control'. You can now browse to the file from the front panel control using the Browse Button.
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 2 of 2
(2,520 Views)