Error when using external mode on a Simscape model

5 ビュー (過去 30 日間)
Matthieu GATINE
Matthieu GATINE 2018 年 12 月 5 日
回答済み: Riya Bansal 2022 年 5 月 31 日
I'm trying to run a Matlab function on a Arduino Uno to control a Simscape model. I've deploy my Function into my Arduino and run the model in external mode but I have this error message :
" Unable to generate code for model 'test_embded' because target specified in 'ert.tlc -aInlineSetEventsForThisBaseRateFcn=TLC_FALSE -aSuppressMultiTaskScheduler=TLC_FALSE -aRateBasedStepFcn=1' does not support Simscape model"
Does anyone know how to solve this ?
Thank you

回答 (1 件)

Riya Bansal
Riya Bansal 2022 年 5 月 31 日
Did you get this answer? I am facing the same problem now.


Find more on Model Preparation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by