LTspice-Matlab

Status
Not open for further replies.

Harsha1991

New Member
I have created the netlist file filename.net in matlab. When i try to run the netlist file in matlab or in ltspice,
I get 'Encountered a sharing violation while accessing a filename.net file' error message.

If I terminate matlab and run netlist file in ltpsice or by double click, it will run without any issue.

What should I do, to run netlist file directly from matlab environment ?
 
Yes, if I close the file written in Matlab, it will run.
I have created a batch file to run netlist automatically. When I call batch file in Matlab program, it wont run and it says 'Could not open input deck for reading'
 
Think that's a windows thing, not letting two processed have the same file open at once.
Is there a way for the second process to open it read-only? It might let you do that...
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…