フィルターのクリア

I am not able to open any of my file.

13 ビュー (過去 30 日間)
Deepak
Deepak 2023 年 4 月 9 日
コメント済み: Image Analyst 2023 年 4 月 9 日
Every time i try to open any file this error pops-up.
Execution of script class as a function is not supported:
C:\Users\Dell Inspiron\Documents\MATLAB\class.m
Error in setdiff>setdiffR2012a (line 189)
if ~strcmpi(class(a),class(b))
Error in setdiff (line 111)
[varargout{1:nlhs}] = setdiffR2012a(varargin{:});
Error in matlab.internal.lang.capability.Capability.Unsupported (line 74)
list = setdiff(capabilityArray, current);
Error in matlab.internal.lang.capability.Capability.require (line 85)
missingRequirements = matlab.internal.lang.capability.Capability.Unsupported(capabilityArray);
Error in uiopen (line 56)
Capability.require(Capability.Swing);

採用された回答

Rik
Rik 2023 年 4 月 9 日
Delete or rename that class.m file.
Creating files with names matching Matlab functions always caries this risk, but basic functions like class and size will be pretty much a guarantee for problems.
  2 件のコメント
Deepak
Deepak 2023 年 4 月 9 日
Thanks!! it worked.
Image Analyst
Image Analyst 2023 年 4 月 9 日
If this Answer solves your original question, then could you please click the "Accept this answer" link to award the answerer with "reputation points" for their efforts in helping you? They'd appreciate it. Thanks in advance. 🙂 Note: you can only accept one answer (so pick the best one) but you can click the "Vote" icon for as many Answers as you want. Voting for an answer will also award reputation points.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Environment Customization についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by