Questions and Answers

0 Like 0 Dislike

cao wei

nanoMOS always reports error

I am sure I followed the instructions strictly as followed: ‘The Matlab version

====================
=

nanoMOS is written in Matlab a scripting language (http://www.mathworks.com), Therefore no compilation are required. 1-Go to /src/matlab 2-Copy all M-files to your working directory or add this directory to your Matlab path 3-Start Matlab 4-Type: nanomos on the command line’ and simulate the input deck file ‘test.in’ provided,in matlab 7.0, nanoMOS version2.5 tell me:

>> nanomos *******************nanoMOS2.0********************** COPYRIGHT, 2000: By Purdue Research Foundation West Lafayette,Indiana 47907. All Rights Reserved. Unless permission is granted, this material not be copied, reproduced or coded for reproduction by any electrical, mechanical or chemical processes, or combinations thereof now known or later developed. *************************************************** Enter filename to be run: test.in Enter name of output directory: t

dump =

Invalid assignment for dg

??? Undefined function or variable “Np_v”.

Error in ==> charge at 97
N_body=zeros(Np_v,Nx);

Error in ==> main at 202

Fn_new,Ne_new,Ne_sub,E_sub=charge(spNe,spEc,Ne_sub_old,E_sub_old);

Error in ==> nanomos at 56
Ie,Ie_sub,Te_sub,Ne_sub,E_sub,Ne,Ec,conve=main;


nanoMOS3.5 tell me:


>> nanomos ??? Undefined function or variable ‘nanomos’.

what is wrong with nanoMOS or me?

can any kind people help me? I am a beginner.

Report abuse

1 Responses

  1. 0 Like 0 Dislike

    Xufeng Wang

    The latest nanoMOS version is 3.5. It seems to me that you are using either: 1. an order version or 2. using the new version but looking at an old manual. Look at the program folder and see if there’s a file called “nmos_in.m” and “nanomos_main.m”. Try these files. If you need some future assistance, feel free to contact me directly.

    Reply Report abuse

    Please login to answer the question.