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 (, 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 ‘’ 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: Enter name of output directory: t

dump =

Invalid assignment for dg

??? Undefined function or variable “Np_v”.

Error in ==> charge at 97

Error in ==> main at 202


Error in ==> nanomos at 56

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.

    Cancel Report abuse

    Please login to answer the question.