Kinarm | Interactive Robotics Brain Injury Research

  • Products
  • Clinical Applications
  • News
  • Support
  • About Us
  • Contact

Mobile nav

Randomize targets

Randomize targets

Posted on May 3, 2017

DWQA Questions › Randomize targets
0 Vote Up Vote Down
Michael Huang asked 6 years ago

Hi, I am wondering is it possible to make a randomize target in each trail

1 Answers
0 Vote Up Vote Down
Duncan McLean Staff answered 6 years ago

Hi Michael,

There are several ways to do this, it depends on your end goal. You can simply check the box to randomize your trials in the block table. But I’m guessing you want more than that.

If you want a random target in the target table then you can use the rand() function in Stateflow to pick a random number.

If you want to pick a totally random location on the screen you can also use the rand() function in stateflow to make an X and Y position, then use that position to edit elements 3,4 in the VCode you display, which are the X and Y locations.

The programming guide has the details on proper use of rand().

Do any of these help or is there something more specific you would like to do?

Cheers!
Duncan

Support

  • User Guides & Documentation
  • Software Downloads
  • Install/Maintain Your KINARM Lab
  • Training Videos
  • New User Training
  • Creating Custom Tasks
  • Sample Custom Tasks
  • Q&A Forum
  • Publications by Research Area

Products

  • Platform Comparison
  • Kinarm Exoskeleton Lab
  • Kinarm End-Point Lab
  • Kinarm Standard Tests
  • Dexterit-E
  • Dexterit-E Explorer
  • NHP Kinarm Exoskeleton Lab

Clinical Applications

  • Clinical Applications
    • Stroke and TIA
    • Traumatic Brain Injury (TBI)
    • Neurological Disease
    • Pediatric
    • Primarily Non-Neurological
  • Clinical Research Sites
  • Publications

News

  • Kinarm News
  • Events
    • Neuroscience
    • Kinarm Camp
  • Product Notices
  • @KinarmLab Twitter Feed
  • Open Jobs

Support

  • Kinarm Help & Support
  • User Guides & Documentation
  • Software Downloads
  • Installing & Maintaining Your Kinarm Lab
  • Training Videos
  • New User Training
  • Creating Custom Tasks
  • Sample Custom Tasks
  • Q&A Forum

About Us

  • About Us
  • Our People
  • Quality
  • Supplier Requirements
  • End-User License Agreement
  • Intellectual Property
  • Privacy & Terms

Contact

  • Contact Kinarm
    • International Sales Agents
  • Request an Account
footer-logo

140 Railway St. Kingston, ON K7K 2L9 Canada Toll Free: (888) 533-4393 Phone: (613) 507-4393 info@kinarm.com

© Copyright BKIN Technologies. All Rights Reserved

Quality | Privacy Policy | Web design/development by 1dea Design + Media Inc.