Linking Simplorer with Matlab/Simulink R2015b and Higher?
4 次查看(过去 30 天)
显示 更早的评论
Linking Simplorer with Matlab/Simulink R2015b and Higher
Hello,
is it possible to link Simplorer 17.2 with Simulink R2015b? I am following procedure described in https://www.mathworks.com/matlabcentral/answers/160102-how-do-i-link-simplorer-to-simulink
In 4. (Setting ANSYS path in MATLAB) I choose C:\Program Files\AnsysEM\AnsysEM17.2\Win64\cpl\matlab\R2015a as it is closest to R2015b.
I am able to define a Simulink Subcircuit (according 8.) in Simplorer and read defined parameters in Simulink, but I cannot read simulink model in simplorer (Read link information from the file in Add Simulink Subcircuit) even though I export simulink model into R2015a version.
When I start simulation in Simulink, it returns this error message:
Error reported by S-function 'AnsoftSFunction' in 'Simplorer_link_1a/S-Function': ȸw
When I start simulation in Simplorer, it reuturns these error messages:
[info] Compilation... (4:06:20 odp. 10 13, 2016)
[info] Compiler completed successfully. (Time < 1 sec) (4:06:22 odp. 10 13, 2016)
[info] Number of models: 5; Simulation is using Simplorer Entry solver license (4:06:22 odp. 10 13, 2016)
[info] Analyzing... (4:06:22 odp. 10 13, 2016)
[error] [Sim2000] Error - A supported Matlab installation was not found. >> Prepare (4:06:22 odp. 10 13, 2016)
[error] [Sim2000App] Error 10532 - Error encountered while PREPARE. >> Close (4:06:22 odp. 10 13, 2016)
[error] Simulation completed with execution error on server: Local Machine. (4:06:22 odp. 10 13, 2016)
Could you please help me?
2 个评论
Balram M
2019-7-24
Hi, Michal Kosik I am also facing same issue. Did you solve the problem without changing the Matlab verson 2015b to 2015a.
Please respond, every kind of support regarding this will be very much valuable for me.
回答(2 个)
Walter Roberson
2016-10-16
It looks to me as if Simplorer is checking which MATLAB release you are using, and is refusing to run because it is not supported on that release.
If I am right then if you install R2015a and use it then it would work.
Because you have a R2015b license, you can use the Mathworks downloads section to download any previous version, including R2015a; it will work with your existing license.
1 个评论
Kevin Bachovchin
2018-2-26
@Walter Roberson, When doing a co-simulation between Simulink and Simplorer, how should I setup the time step and the solver?
I am able to successfully link Simplorer and Simulink and run from either Simplorer or Simulink without getting any errors using the instructions from https://www.mathworks.com/matlabcentral/answers/160102-how-do-i-link-simplorer-to-simulink?s_tid=gn_loc_drop. However, the value being read in Simplorer from Simulink is coming out as all zeros. I'm thinking this might be happening due to a problem with the time step synchronization between Simplorer and Simulink.
I also created a new thread with this issue if you want to respond there instead: https://www.mathworks.com/matlabcentral/answers/384947-linking-simplorer-and-simulink
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!