AnsweredAssumed Answered

fopen always return null

Question asked by dspcoder on Sep 21, 2016
Latest reply on Oct 4, 2016 by dspcoder



I am trying to open a file on the disk but fopen is always returning null.

My target is sharc 21469.


Here is the code snippet:

void ReadStimulusFromFile()
   FILE *fp = fopen("Stimulus1.dat", "r");



Does anyone know why I am getting a null pointer from fopen function?