Problem with Simulink coder and MS Visual Studio 10.0

10 ビュー (過去 30 日間)
Michael
Michael 2014 年 3 月 9 日
コメント済み: haisheng wu 2020 年 12 月 5 日
Hi there,
I am using MS Visual studio 10.0 together with Simulink coder (2012b). I try to run the example http://www.mathworks.com/help/rtw/examples/creating-a-microsoft-visual-studio-solution.html If am trying to generate the code using simulink coder and the grt target. I have the following settings
Target file : grt.tlc (create VC/C++ solution file for the grt target) Language : C++ Make command : make_rtw Template makefile :RTW.MSVCBuild
I get the following error message: Visual Studio COM server is either not responding or got disconnected.
Caused by: No appropriate method, property, or field Create for class COM.VisualStudio_Solution_10_0.
I did all what was mentioned in this thread, I even started >> actxserver('visualstudio.DTE.10.0')
ans =
COM.visualstudio_DTE_10_0
which looks like to work.
The funny part was that I was sucessful once today but I dont know what i changed or made different. After rebooting my PC I got the same thing poping up again
Any idea?
Thank you Michael
  3 件のコメント
Chandrasekhar
Chandrasekhar 2017 年 11 月 8 日
@Michael, check if you are runnning MATLAB and Visual studio in admin mode. This error could be due to insufficient permission for MATLAB to create a MS solution file.
haisheng wu
haisheng wu 2020 年 12 月 5 日
I have the simple problem.That answer can not solve it.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by