App Designer Line 1 Class Name Error on any App
When attempting to run any app using App Designer (even tutorial apps or blank apps), I receive the following error.
Error using app1
Error: File: app1.mlapp Line: 1 Column: 10
Class name and filename must match.
The first line of the app code is autogenerated and not editable:
classdef app1 < matlab.apps.AppBase
As far as I can tell, the class name and filename do match. Filename: app1.mlapp
When selecting the "Pause on Errors" Run option, it pauses on this line in AppManagementService.m:
100 runningApp = evalin(‘base’, sprintf(‘%s(%s);’, command, appArguments));
In base workspace.
I’m brand new to App Designer and might be missing something fundamental here. All the tutorials I can find do not mention this error or define any setup needed to avoid it.When attempting to run any app using App Designer (even tutorial apps or blank apps), I receive the following error.
Error using app1
Error: File: app1.mlapp Line: 1 Column: 10
Class name and filename must match.
The first line of the app code is autogenerated and not editable:
classdef app1 < matlab.apps.AppBase
As far as I can tell, the class name and filename do match. Filename: app1.mlapp
When selecting the "Pause on Errors" Run option, it pauses on this line in AppManagementService.m:
100 runningApp = evalin(‘base’, sprintf(‘%s(%s);’, command, appArguments));
In base workspace.
I’m brand new to App Designer and might be missing something fundamental here. All the tutorials I can find do not mention this error or define any setup needed to avoid it. When attempting to run any app using App Designer (even tutorial apps or blank apps), I receive the following error.
Error using app1
Error: File: app1.mlapp Line: 1 Column: 10
Class name and filename must match.
The first line of the app code is autogenerated and not editable:
classdef app1 < matlab.apps.AppBase
As far as I can tell, the class name and filename do match. Filename: app1.mlapp
When selecting the "Pause on Errors" Run option, it pauses on this line in AppManagementService.m:
100 runningApp = evalin(‘base’, sprintf(‘%s(%s);’, command, appArguments));
In base workspace.
I’m brand new to App Designer and might be missing something fundamental here. All the tutorials I can find do not mention this error or define any setup needed to avoid it. app designer, class name, filename, class, classdef MATLAB Answers — New Questions