Académique Documents
Professionnel Documents
Culture Documents
Page |1
Beforefurtherdescriptions,pleaseverifywhetherthefollowingrequisitesaremetonyourmachine: 1 MATLABhastobeinstalledpriortoPSCAD.YoumayneedtoreinstallPSCADtomakeit recognizethelinksanddependenciestoMATLAB,itslibrariesandpaths. 2 TheMATLABinterfacefeatureisnotsupportedbytheGNUFortrancompiler,whichisprovided withyourPSCADpackage.IrecommendthatyouinstallCompaqVisualFortran6.0orhigher,or IntelFortranCompiler. 3 PleasenoticethattheuserhastocreateauserdefinedcomponenttousetheMATLABinterface feature;i.e.youwillnotfindaMATLABInterfacecomponentintheMasterLibraryinPSCAD. 4 CreatingnewcomponentsrequiresanEducationaloraProfessionallicense. BeforestartingtorunaMATLABinterfacesimulation,youshoulddirectPSCADtoMATLABsshared libraryfolder.ThesharedlibrariesofMATLABR200Xarelocatedat: %MatlabRoot%\extern\lib\win32\microsoft InordertospecifythispathforPSCAD,selectVersion5underWorkspaceSettings|MATLAB|Installed Version.Thenenterthecompletepathofthesharedlibraries(e.g.C:\Program files\Matlab\R2008a\extern\lib\win32\microsoft)underLibraryPath. Also,ifyouarecreatinganewmodel,whichusestheMATLABinterfacefunction,youhavetolinkyour modeltotheinstalledMATLABlibrariesbyactivatingthecorrespondingcheckboxonProjectSettings| Link:
Page |2
Page |3
YouwillseethePSCADScriptcodeofeachblockontheScriptpaneofthecomponentdefinition window: