How to avoid warnings regarding non-existent directory ?
    28 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    Shravankumar P
      
 le 2 Jan 2015
  
    
    
    
    
    Modifié(e) : AlanO
      
 le 27 Oct 2020
            </matlabcentral/answers/uploaded_files/23295/mlxlnxerror.PNG> As shown Matlab command prompt is showing warnings. I have used Xilinx for HDL coder and now I removed it from my computer, but still Matlab is looking for it and showing the warnings. Could any one help me, I don't want to see that error.
0 commentaires
Réponse acceptée
  Image Analyst
      
      
 le 7 Jan 2015
        Attached is a function that turns off some common warnings, along with directions to turn off any other specific warning that you want to silence.
1 commentaire
  Sean de Wolski
      
      
 le 8 Jan 2015
				warning('off', 'MATLAB:MKDIR:DirectoryExists');
Very Nice!
Plus de réponses (2)
  AlanO
      
 le 27 Oct 2020
        
      Modifié(e) : AlanO
      
 le 27 Oct 2020
  
      Warning is not issued to console if you call mkdir with output values to capture the msg.  
for example:
[ status, msg ] = mkdir( 'someDir');
This is described in doc for mkdir: "If the number of output arguments is 1 or  less, it also issues a warning that the directory already exists."  
So, no warning if you provide the args. This also works if you provide placeholders:
[ ~, ~ ] = mkdir( 'someDir');    % ignore outputs.
0 commentaires
  Kiran Kintali
    
 le 2 Jan 2015
        Hi,
I am not able to open the attachment.
Based on your question, I recommend that you please check with Xilinx on this question because they will have better experience with MATLAB path issues related Xilinx tool chain and System Generator.
However, we do offer an integration between HDL Coder and Xilinx synthesis tool chain -- you can read more about this on this page. We also support Vivado, but Vivado based System Generator integration is not yet available.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




