フィルターのクリア

how to run a .exe file from matlab

13 ビュー (過去 30 日間)
Siddharth Pande
Siddharth Pande 2014 年 4 月 5 日
コメント済み: Siddharth Pande 2014 年 4 月 10 日
i want to call a spice simulator executable file to run a spice model and then generate a data file.i also want that data file to be called in the matlab for the compilation accordingly. then i can use this the result to plot the graps
  2 件のコメント
Jan
Jan 2014 年 4 月 5 日
What does thio mean:
...data file to be called in the matlab for the compilation accordingly
Siddharth Pande
Siddharth Pande 2014 年 4 月 10 日
@jan simon it is a .dat file which will be generated automatically by the spice simulator

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

回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 5 日

Image Analyst
Image Analyst 2014 年 4 月 5 日
You can put an exclamation point on the command line followed by the full path and name of your executable, or if you want to do it in a script of function, you can use the system() command. For example:
% Now run the Calibration Chart editor program.
% First construct the command line for the system() function.
% Enclose all filenames in double quotes because we may have spaces in the filenames.
arguments = sprintf('-chartfile "%s" -chartimage "%s"', fullRefChartDataFileName, bgCorrectedImageFileName);
commandLine = sprintf('"%s" %s', editorFullFileName, arguments);
fprintf('\n%s\n', commandLine);
%----------------------------------------------------------
% Now launch the Calibration Chart editor program using the "system()" function.
%msgboxw(commandLine);
system(commandLine);

カテゴリ

Help Center および File ExchangeSPICE files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by