Error "Accelerator mode is not supported through the S-Function API" when calling set_param in Accelerator mode.
I have a model open in accelerator mode. When I call 'set_param' to change the values of several model parameters, I get the following confusing error:
>> set_param(vdp,'StopTime','100') Accelerator mode is not supported through the S-Function API
ANSWER
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
>> set_param('vdp','StopTime','100')
If you change the model back to Normal mode then re-run the original command without quotes, the error message becomes more clear:
Comments
Post a Comment