Read ngspice

Loads data from ngspice simulations into MATLAB

現在この提出コンテンツをフォロー中です。

% [Data, Labels] = ReadSpice(filename)
%
% Data is an MxN matrix containing the values of the M variables
% at each of the N datapoints.
%
% Labels is a M-vector with the Mth label corresponding to the
% Mth row in Data
%
% This script has been tested on raw (-r Out.raw) data from
% ngspice-rework17.
%
% Usage example:
% [data, labels] = ReadNGSpice('out.raw');
% labels (to view how the data is labeled)
% plot(data(1,:), data(6,:));
% title('Oscillator Output (V)');

引用

Madison McGaffin (2026). Read ngspice (https://jp.mathworks.com/matlabcentral/fileexchange/23095-read-ngspice), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを与えたファイル: Read ngspice MOD, Run ngspice simulation and import rawfile

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0