MATLAB Answers

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

14 views (last 30 days)
ADARSH SINGH
ADARSH SINGH on 2 Nov 2020
Commented: ADARSH SINGH on 3 Nov 2020
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!!!

  0 Comments

Sign in to comment.

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:

Community Treasure Hunt

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

Start Hunting!

Translated by