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

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

답변 (1개)

per isakson
per isakson 2013년 4월 17일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2013년 4월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by