what is the meaning of this error?
1 view (last 30 days)
Show older comments
Hello team and experts,
I am facing following problems in my work at the moment.
1.) I want to run LQR demo controller given on the Multi tank system window which is accessed by typing Tank3 in MATLAB R2014a.
To operate this demo controller, I faced this error as shown in attached screenshot. This is repeatedly displaying and I dont understand its meaning or what I need to do for fixing it. Kindly help with your possible solutions to fix this error, please?
2) I have to design a simple linear and non linear water level control system using if else statement.
I am curious to know if I can use this demo LQR controller model as base to do that. Is it possible to see and then to make changes in it by introducing the if else statement? How can I do that?
Any suggestion, way and advice would be highly appreciated.
I thank you in advance for any early response.
0 Comments
Answers (1)
Yukta Maurya
on 7 Jun 2022
Assuming that you might be trying to run your application using XCP-based external mode, the error can could have occured because XCP-based External Mode does not generate a target data map file.
Therefore, we suspect that the the default setup of the External Mode transport layer was modified and the current values are incorrect. Please type from the MATLAB console the following commands:
>> idx = get_param(modelName, 'ExtModeTransport')
>> cs = getActiveConfigSet(modelName)
>> [transport, mexfile, interface] = Simulink.ExtMode.Transports.getExtModeTransport(cs, idx)
In order to run XCP-based External Mode, you should see the following output:
>> [transport, mexfile, interface] = Simulink.ExtMode.Transports.getExtModeTransport(cs, idx)
transport =
'XCP on TCP/IP'
mexfile =
'ext_xcp'
interface =
'Level2 - Open'
0 Comments
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!