Using slwebview command in matlab command line with -automation interface

Hello,
Currently , i am facing a scenario wherein i need to use Matlab Report Generator to export simulink models to a web view. I want to achieve this with matlab command line or report generator command line interface using.rpt files.
Any help is greatly appreciated.
Thanks Prabhakar.

2 件のコメント

Jon Boerner
Jon Boerner 2014 年 10 月 15 日
If you are just trying to create a webview, slwebview is definitely the way to go. You can call that from the command-line for an open model, and also specify that it should not open the web view if you do not want it to:
load_system('my_system');
slwebview('my_system','ViewFile',false);
close_system('my_system');
I assume you want something different than this, but am not sure exactly what you are looking for. If you can give the above code a try and let me know what is wrong with it (or what the difference in behavior is between that code and what you are trying to do), I would be happy to take another look.
Prabhakaran
Prabhakaran 2014 年 10 月 24 日
Hello Mr Jon Boerner,
First of all ,thanks for spending your time and answering my question.
The commands you mentioned work well within the Matlab IDE . But , what I am trying out is kind of stealth/background mode , wherein not Matlab GUI shall be opened while executing the command . instead through Matlab Command Line I want to achieve the same action of generating report silently .
Thanks Prabhakar.

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

回答 (0 件)

カテゴリ

質問済み:

2014 年 10 月 14 日

コメント済み:

2014 年 10 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by