Kinarm | Interactive Robotics Brain Injury Research

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

Mobile nav

Undefined function RAND_MAX simulink

Undefined function RAND_MAX simulink

Posted on Mar 27, 2018

DWQA Questions › Category: Custom Task Development › Undefined function RAND_MAX simulink
0 Vote Up Vote Down
Taruna Yadav asked 5 years ago

Hi,
I get this following error (MATLAB 2013a) when building a custom task in Simulink.
Error evaluating Stateflow parameter data ‘RAND_MAX’ in its parent workspace. Caused by: Undefined function or variable ‘RAND_MAX’.
The only thing I know which might have caused this error is the export of task model from MATLAB 2015a to MATLAB 2013a. I tried keeping all model configuration parameters similar to the default for a task in MATLAB 2013a (which builds fine) but even then I get this error. I also tried putting # inlcude<stdlib.h> in Source FIle in model configuration parameters as instructed in the documentation, but the error still persists.
Please let me know what can be done to resolve this error.
 
Thanks,

Question Tags: build error rand_max
1 Answers
0 Vote Up Vote Down
Koloman Varady Staff answered 5 years ago

Hi Taruna,

I am not sure why it isn’t working for you – I tried to duplicate it myself but couldn’t. If possible, could you send your model to our support email and I will take a look at what the error is?

Cheers,

Koloman

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.