‎01-01-2018 10:46 AM
Hi,
I would like to call to dll generated in matlab from labview.
When I use the function "call library function node", the type of the output is only scalar.
how do I change the output type, how i do array in the output?
How do I create multiple output variables?
Best regards
maya
‎01-01-2018 12:24 PM
The type is only scalar for the "return type". Once you add an output, "array" will be available.
‎01-02-2018 12:39 AM
when I add 'arg' is only more input. it isn't output...
the only output I get is in the return type.
‎01-02-2018 01:04 AM
@mayaya wrote:
when I add 'arg' is only more input. it isn't output...
the only output I get is in the return type.
This statement is incorrect. Did you read the help and documentation?
‎01-02-2018 01:40 AM
yes.
how I choose if arg is input or output?
‎01-02-2018 02:05 AM
mayaya wrote:how I choose if arg is input or output?
It is both. For each arg, there is an input on the left and an output on the right.
‎01-02-2018 03:11 AM
can you send me a simple example?
‎01-02-2018 05:20 AM
There are a few very useful examples already available with LabVIEW. Choose Help -> Find Examples, then Search "DLL" or similar keywords.