loadspice.m
来自「射频方面的资料」· M 代码 · 共 18 行
M
18 行
% LOADSPICE Reads in SPICE data from .out file
%
% [Y] = LOADSPICE(filename) Reads in data from file filename.
% GREP must be present and in path
function [Y] = loadspice(infname)
com = sprintf('grep -i -v -e\\* -e[A-D] -e[F-Z] %s | grep -i -ee > temp.asc', infname);
dos(com);
clear com;
% Read in data
disp('Loading data file');
load('temp.asc');
delete('temp.asc');
Y = temp;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?