From: Andrew Peckat on 14 Jul 2010 19:01 I need to create a loop that will repeat this command every 100ms and increase the voltage by 0.1 up to 2.0 volts. fprintf (vo, 'Volt:offs 0.1') I'm new to Matlab so I'm still trying to learn stuff and this has been particularly challenging.
From: Michael on 14 Jul 2010 19:17 help for help pause help fprintf
From: Andrew Peckat on 15 Jul 2010 15:54 "Michael " <michaelrobbinsusenet(a)aol.com> wrote in message <i1lghh$qot$1(a)fred.mathworks.com>... > help for > help pause > help fprintf ok...anyone with anything more useful than this going to help?
From: Sean on 15 Jul 2010 15:59 "Andrew Peckat" <apeckat(a)indiana.edu> wrote in message <i1np0s$t48$1(a)fred.mathworks.com>... > "Michael " <michaelrobbinsusenet(a)aol.com> wrote in message <i1lghh$qot$1(a)fred.mathworks.com>... > > help for > > help pause > > help fprintf > > ok...anyone with anything more useful than this going to help? How is that not useful? I think if you read about all 3 of those functions and implement them in the order given (or maybe switch pause/fprintf) it'll work just fine.
From: Andy on 15 Jul 2010 16:01
"Andrew Peckat" <apeckat(a)indiana.edu> wrote in message <i1np0s$t48$1(a)fred.mathworks.com>... > "Michael " <michaelrobbinsusenet(a)aol.com> wrote in message <i1lghh$qot$1(a)fred.mathworks.com>... > > help for > > help pause > > help fprintf > > ok...anyone with anything more useful than this going to help? Did you type those commands at the command line and read the help files? Those three functions tell you how to loop, how to wait a set amount of time, and then how to print. |