Polyspace As You Code in VS Code

3 次查看(过去 30 天)
Hello!
I'm trying to build PaYC env. on VS-Code
there is no problem on Eclipse, but in VS-Code I am facing an error as below.
belows are error on Extension Host console in VS-Code.
--- --- --- Output --- --- ----
[error] Activating extension MathWorks.polyspace failed due to an error:
[error] Error: External buffers are not allowed
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1273:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822)
at Module.load (node:internal/modules/cjs/loader:1058:32)
at Module._load (node:internal/modules/cjs/loader:893:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at b._load (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:126:29948)
at h._load (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:126:26698)
at I._load (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:24489)
at Module.require (node:internal/modules/cjs/loader:1082:19)
at g (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
at load (c:\Users\oseung.kwon\.vscode\extensions\mathworks.polyspace-4.2.1\node_modules\node-gyp-build\index.js:21:10)
at Object.<anonymous> (c:\Users\oseung.kwon\.vscode\extensions\mathworks.polyspace-4.2.1\node_modules\ref-napi\lib\ref.js:8:53)
at u._compile (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1243:10)

采纳的回答

Kilsu Kim
Kilsu Kim 2023-6-9
Hi OSEUNG,
This is a known issue for Visual Studio Code version 1.78. This issue will be fixed in a future release and update.
As a workaround, could you use the older version of Visual Studio Code for now in order to use the extension? It is known on our end that the extension works properly in Visual Studio Code version 1.77.3.
If you need further help, please contact MathWorks Technical Support.
Thanks,
Kilsu
  3 个评论
Jan-Peter Wüstenberg
Are there any news on this topic? Is it tracked somewhere?
Kilsu Kim
Kilsu Kim 2023-6-27
A bug report for this issue has been posted below. Hit the 'Follow' button to be notified when the bug is fixed.
Polyspace extension not starting in Visual Studio Code version 1.78 and later (3004593)
Hope this help!

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!