A simple problem with STK10

조회 수: 10 (최근 30일)
yuval baruch
yuval baruch 2014년 12월 26일
댓글: Fatima zahra SADIR 2017년 6월 2일
I put a program on Matlab which should open STK and run a scenerio. Now when I refer Matlab to open STK there is an error:
Invoke Error, Dispatch Exception:
Source: AGI.Application.1
Description: You do not have the required license to connect externally to the application.
Error in STKprogram (line 5)
root = app.personality2;
The program is as follows:
app = actxserver('STK.Application');
root = app.personality2;
app.visible=true;
I dont see where the problem is, help would be appreciated.
  댓글 수: 1
Fatima zahra SADIR
Fatima zahra SADIR 2017년 6월 2일
Hello , please i wonder after you had your evaluation license of stk integration , is that work well with you ?? , is your problem solved ?

댓글을 달려면 로그인하십시오.

답변 (2개)

Jassem Sleiman
Jassem Sleiman 2016년 3월 15일
I work with both MatLab and STK, and have dealt with this exact issue. Your problem is that you don't have the STK Integration Add-On Module.
The STK Integration module is what allows any API to connect and manipulate the root portions of STK. Meaning, if you want to use MatLab to build your scenario objects like satellites, etc., or adjusting time step, or window manipulation, or even setting the Epoch. If you tried to write the same bit of code in C++, C#, JAVA, or Python, you would encounter the same issue.
app = actxserver( 'STK.Application' ); Will work just fine, with any code. But without STK Int(egration), that's as far as you'll get.
I suggest reaching out to AGI, for a trial license.
  댓글 수: 1
FatimaZahra SADIR
FatimaZahra SADIR 2017년 5월 19일
hello , ihave same probleme and i understand you answer but i didn't find the stk/integration . could you help me to find it or give me a link where i can have it ?

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2014년 12월 26일
I don't know what STK is, but it appears you don't have a license to run it, at least not as an ActiveX server. Another case like that is when people have Microsoft Office Starter Edition - you can run office apps just fine standalone, but not as ActiveX servers. Can you run STK by itself?
  댓글 수: 4
yuval baruch
yuval baruch 2014년 12월 26일
Thank you for answering! Well STK is a software that simulates satellites in space. Anyway I dont think i'ts that important. To answer your question, acually I can run STK by itself. Maybe like you said I cant refer to it as an ActiveX server, If so, in your opinion how can I refer to STK?
Image Analyst
Image Analyst 2014년 12월 26일
Same as my previous comment.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 RF Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by