Arduino Serial Port in Matlab

Hi,

I have an Arduino DUE connected to my Virtual machine on which there is installed UBUNTU.

If I try to create a serial connection at the address where the Arduino DUE is everything is fine.

The problem is that when I close MATLAB and I want to open the Arduino IDE again, there is no serial port available.

I think it´s some kind of closing and deleting that I have to do, but I don´t know what is the right command.

Someone of you can help me?

thanks,
Fab.

Hey,

Well, I guess you used something like the following to open the serial port:

s = serial(.......);
fopen(s);

To close the serial connection just type the following before closing matlab:

fclose(s);

This works for me without any problem.. Which version of Matlab are you using??

//Basel