Error while using 'smimport' function

i have installed simscape multibody successfully, however when using the function 'smiport', i get this error
Error: File: smimport.m Line: 180 Column: 1
This statement is not inside any function.
(It follows the END that terminates the definition of the function "smimport".)
i found question and answers for this problem but non of answers worked with me ,please guidance

1 Comment

Anyhow, i have solved this problem by reinstalling the simscape toolbox

Sign in to comment.

Answers (1)

ALJ2
ALJ2 on 20 May 2022
i have solved this problem by reinstalling the simscape toolbox

Products

Release

R2020b

Asked:

on 15 May 2022

Answered:

on 20 May 2022

Community Treasure Hunt

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

Start Hunting!