フィルターのクリア

How to resolve the 'waic' error issue?

13 ビュー (過去 30 日間)
Paras
Paras 2024 年 7 月 23 日 7:31
コメント済み: Paras 2024 年 7 月 23 日 8:36
Hi....
I am trying to run a simulation code that contain 'nested for loops'. I'm try to run the code on "Matlab online" platform as well as the desktop version is busy and the same code is working fine there. But in the 'Online Matlab' I am gatting a error quotes as 'Unrecignized function or variable 'waic'.' and later reffering to the ode solver. Can anyone please help me out what can be the proable error and how to fix that ?
All the related files are in a single directory as well. Still not working. Please help.......Thanks.

回答 (1 件)

Dheeraj
Dheeraj 2024 年 7 月 23 日 7:42
Hi Paras,
I understand you are facing errors when you run code on MATLAB online which worked fine on MATLAB desktop.
The error "Unrecognized function or variable 'waic'" suggests that MATLAB Online is unable to locate the function or variable "waic" that your code depends on.
Please ensure that the directory containing the variable or variable "waic" is added to the MATLAB path in MATLAB Online. You can add the directory to the path using the "addpath" function as shown below.
addpath('path to your directory');
Thank you.
  1 件のコメント
Paras
Paras 2024 年 7 月 23 日 8:36
Hi Dear Dheeraj. I tried to add the path. I am unable to fix this. Once have a look and tell me the right way to deal with this. Thanks a lot for helping out :)

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

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by