Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

can i use object from command line in .m file?

Asked by Matei Alexandru on 17 Apr 2013

Hi, I want to use a serial object(for serial communication) in a script(.m file). But there is a problem with the serial communication and i can't open the connection very often(fopen(S)) so i want to create the object in the Matlab command line once and use it in the script as i develope the application many times. So, is there a possibility to use an object from command line in a script ? Thanks, Alex

0 Comments

Matei Alexandru

Products

No products are associated with this question.

1 Answer

Answer by per isakson on 17 Apr 2013

So, is there a possibility to use an object from command line in a script ? Yes! Did you try?

0 Comments

per isakson

Contact us