+
⚠️
+
MATLAB Version Not Supported
+
The Workspace panel requires MATLAB ${WSB_MINIMUM_RELEASE} or later.
+
Please upgrade your MATLAB installation to use this feature.
+
+`
+}
+
+export function getDisconnectedHtml (): string {
+ return `
+
+
+
⚠️
+
MATLAB Disconnected
+
The workspace browser is not available because MATLAB is not connected.
+
Connect to MATLAB to view workspace variables.
+
+`
+}
+
+// Generates the full interactive HTML for the webview when MATLAB is connected and supported
+export function getWebviewHtml (webview: vscode.Webview, extensionUri: vscode.Uri): string {
+ const stylesUri = webview.asWebviewUri(
+ vscode.Uri.joinPath(extensionUri, 'out', 'workspacebrowser', 'resources', 'webview.css')
+ )
+ const bundleUri = webview.asWebviewUri(
+ vscode.Uri.joinPath(extensionUri, 'out', 'bundle.js')
+ )
+ const iconsBaseUri = webview.asWebviewUri(
+ vscode.Uri.joinPath(extensionUri, 'out', 'workspacebrowser', 'resources')
+ )
+
+ return `
+
+
+