The current "ExtModeMexFile" value, "ext_comm", does not match "noextcomm", which is the value expected by the current external mode transport layer, "none". This transport la

I am getting folowing error when I am trying to add NI DAQ-max 6001 to my simulink model:
The current "ExtModeMexFile" value, "ext_comm", does not match "noextcomm", which is the value expected by the current external mode transport layer, "none". This transport layer is specified by the 'ExtModeTransport' value, "0". This error can occur when you change the way you register external mode transport layers in Simulink. Refresh "ExtModeMexFile" by reselecting the required external mode transport layer.
please help me out.

1 Comment

Hi Bassiri,
did you solve the problem after posting? I am currently facing the same error in Simulink when matching it with other equipment. It would be so helpful if you could let me know the follow-up. Thank you a lot.
Ning Lu

Sign in to comment.

Answers (1)

It sounds like the target you are using does not support External Mode simulations.
Please check Code Generation > System target file and contact the author of the target.
To avoid the error, turn off Code Generation > Interface > External Mode

Categories

Find more on General Applications in Help Center and File Exchange

Asked:

on 16 Nov 2021

Answered:

on 21 Oct 2024

Community Treasure Hunt

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

Start Hunting!