I have "Error evaluating 'PreCopyFcn' callback of DC Motor block (mask) 'Model_1/DC Motor'. Callback string is 'simscape.​compiler.s​li.interna​l.callback​('PreCopyF​cn',gcbh);​' " this error. what should i do? help please

29 views (last 30 days)
when i try to use dc motor block in simulink then "rror evaluating 'PreCopyFcn' callback of DC Motor block (mask) 'Model_1/DC Motor'.
Callback string is 'simscape.compiler.sli.internal.callback('PreCopyFcn',gcbh)'
-->Cannot add block DC Motor to the model because a license for Simscape Electronics is not available. "
this error pops up.
please help me. I have to submit project on 6th november. please help soon!!!

Answers (1)

Vasco Lenzi
Vasco Lenzi on 3 Nov 2020
Hi Adarsh. It seems that you don't have a Simscape Electrical license. If you are a student, check with your university if they have one available. If not and this is an educational project, download and use the trial license:

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Simscape Electrical 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!